Title: Does it work yet?
Last modified: May 27, 2019

---

# Does it work yet?

 *  Resolved [Tamhas](https://wordpress.org/support/users/tamhas/)
 * (@tamhas)
 * [7 years ago](https://wordpress.org/support/topic/does-it-work-yet/)
 * Hi! Great to see your plugin is resurrected! Perfect timing as I have just installed
   superwpa. However your popup is still not showing on apple phones, might there
   be something I am doing wrong, for example are there certain types of plugins
   that may clash with it? Appreciate any suggestions, thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoes-it-work-yet%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Ziyad Bachalany](https://wordpress.org/support/users/tulipwork/)
 * (@tulipwork)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/does-it-work-yet/#post-11643746)
 * Hi!
    Let me know when your website will be back, so I will be able to look forward
   your problem. Thanks!
 *  [rlamb2](https://wordpress.org/support/users/rlamb2/)
 * (@rlamb2)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/does-it-work-yet/#post-11682628)
 * Same issues here — plugins are installed, configuration is set, but the actions
   in the page don’t run to load in the CSS/JS. I’ve added error_log statements 
   into every function and the only one that seems to do anything is the adhs_init
   function and anything defined for the admin area.
 * Tracking that a bit more, I started realizing that the functions stopped working
   as soon as the server would encounter a closing PHP tag in your script — I changed
   the add2homecustom function to a series of echo commands instead of closing and
   reopening PHP and suddenly the CSS and JS files were enqueued. Probably something
   there to work with. Maybe WordPress only reads the main plugin file until it 
   encounters one of those?
 * I’m running PHP 7.2 locally on my Mac, and having the same issues running PHP
   7.0 on Ubuntu. Both systems using Nginx and PHP-FPM.
 * Side note: the code in the plugin is kind of messy. Difficult to follow through.
   Good for N years ago, so I’m glad to hear you’ve revisited the plugin and are
   working to improve it.
 * Might I recommend some refactoring: use wp_localize_script, don’t wrap everything
   in an if statement, use consistent indentation, and maybe split the code into
   a couple separate files (admin and frontend, at least).
 *  Plugin Author [Ziyad Bachalany](https://wordpress.org/support/users/tulipwork/)
 * (@tulipwork)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/does-it-work-yet/#post-11728856)
 * Hi,
 * You are right [@rlamb2](https://wordpress.org/support/users/rlamb2/), I fixed
   the problem on the add2homecustom function, thanks a lot for your message!
    The
   plugin is working now for everyone.
 * Z.
 *  Thread Starter [Tamhas](https://wordpress.org/support/users/tamhas/)
 * (@tamhas)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/does-it-work-yet/#post-11728899)
 * Thanks Ziyad! And sorry I see I missed your last reply to me. Yes update works
   perfect. I had hacked up a copy of yours using a plugin called Wonder Popup that
   could differentiate between OS. My copy of yours worked but not as nice looking,
   and it was popping on on Wechat browser in iOS which was annoying, as Wechat 
   doesn’t have same add to home screen feature. So I am VERY happy to see your 
   fix. THANKS! I still remember when my brother showed me the original plugin many
   years back…
 *  Plugin Author [Ziyad Bachalany](https://wordpress.org/support/users/tulipwork/)
 * (@tulipwork)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/does-it-work-yet/#post-11729060)
 * Perfect, glad this helped! 😉
    -  This reply was modified 6 years, 10 months ago by [Ziyad Bachalany](https://wordpress.org/support/users/tulipwork/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Does it work yet?’ is closed to new replies.

 * ![](https://ps.w.org/add-to-home-screen-wp/assets/icon-256x256.png?rev=3552614)
 * [Add to Home Screen & Progressive Web App](https://wordpress.org/plugins/add-to-home-screen-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-to-home-screen-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-to-home-screen-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/add-to-home-screen-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-to-home-screen-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-to-home-screen-wp/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Ziyad Bachalany](https://wordpress.org/support/users/tulipwork/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/does-it-work-yet/#post-11729060)
 * Status: resolved