WordPress.org

Support

Support » Plugins and Hacks » Simple PopUp » [Resolved] Popup showing on every page

[Resolved] Popup showing on every page

Viewing 7 replies - 1 through 7 (of 7 total)
  • or I should say that when the form is filled out on the popup, it posts to mailchimp, and returns to a thank you page and displays the popup again.

    The popup is not showing on every page…only when the form posts and you are returned to the site.

    Thanks!

    Yes! I have the same issue. You go to Mailchimp, come back, and then it pops up again. Not so good! I may have to try to write a custom script to stop it when a certain page is accessed?

    Here’s what I used to force-hide the two main popup elements on my 2 confirmation pages that mailchimp directs to. I placed it just inside the opening body tag, but anywhere inside the body tag should work.

    <?php if(is_page(664) || is_page(661)) { ?>
    <script>
    $(document).ready(function() {
    $(“#boxes #dialog”).css(“display”,”none !important”);
    $(“#spmask”).css(“display”,”none !important”);
    });
    </script>
    <?php } ?>

    Oops! That doesn’t seem to work. Oh well. Any other possible solutions?

    Tried everything I can think of. Here are some of them:

    + removing the actions used in the SimplePop.php file on certain pages, called from functions.php
    + using this plugin to remove the actions using class and action name: https://github.com/herewithme/wp-filters-extras/
    + using the Plugin Organizer plugin to enable the plugin only on certain pages

    None of it works. This simplepop plugin is bulletproof!

    Ok! Finally worked. Used this plugin: http://wordpress.org/extend/plugins/plugin-organizer/

    And ordered the plugin loading so that SimplePop loaded BEFORE the Plugin Organizer.

    Also, be sure to 1) enable selective plugin loading, 2) disable the plugin on each individual page.

    The best way to do it should be to…
    1. Enable selective plugin loading.
    2. Disable the plugin globally.
    3. Enable the plugin on the page where you want it to appear.

    If you didn’t have selective plugin loading enabled before testing, plugin organizer wouldn’t have disabled it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Popup showing on every page’ is closed to new replies.
Skip to toolbar