How To Disable PlatinumPopup Plugin On Carrington Mobile

How To Disable PlatinumPopup Plugin On Carrington Mobile

How To Disable PlatinumPopup Plugin On Carrington Mobile

If you are using Carrington Mobile or any mobile theme of WordPress together with PlatinumPopup plugin with On Cursor off Page (moving the cursor off the browser window to the top) configuration and have large popup size, you might want to disable the plugin when mobile theme is being used, else popup will start showing if javascript enabled on user’s browser and covering your page.

This is how you can make it done.

The Plugin

Open up main.php file inside the plugin directory with text editor and put these codes at very first line (code taken from Detect Mobile Browser | Open source mobile phone detection)

Enjoy. Hope it works!

One thought on “How To Disable PlatinumPopup Plugin On Carrington Mobile

  1. Justin

    Thanks for the code! I’ve been looking for this script for hours… I used it to remove the Slick Social Share plugin from my blog when viewed on mobile devices. It’s a great plugin for desktop, but gets in the way of post content on mobile phones.

    Now if I can just find a script to remove my aweber light box when the site’s viewed on mobile as well 🙂 Maybe you have a solution? My blog is http://blog.jammob.com

    Either way, Thanks a bunch!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *