• Resolved RyandaDwi

    (@ryandadwi)


    Hi Guys,

    It’s not a question but I would like to share what happen with my website a few days ago. I dont know if it was a bug or my fault.
    I don’t know how to report this to developer so I just tell them here.

    I created a loop contain pop up shortcode, it worked for a few days.
    using this method

    Then, I realized that I’ve created some pop up using popup maker in admin panel. I deleted those pop up (because every pop up will be generated automatically when I create post).
    Suddenly my pop up doesn’t work any more.

    After 1 hour getting stress with my code, I found out that it needs at least one pop up to be created from admin panel (and it was not from my code! LOL). I think It’s because some script wont be loaded unless there is pop up created there.

    After that, I restore just one pop up and then booom.
    Working great again.

    Thanks for your time. Hope this help in the future.

    Cheers,
    R

    https://www.ads-software.com/plugins/popup-maker/

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @ryandadwi – You got me (the developer) :)..

    You are correct, by default scripts & css are not loaded unless a popup is. This is done for optimization.

    You can force load the scripts by adding the following to your themes functions.php file.

    if ( ! defined( 'POPMAKE_FORCE_SCRIPTS' ) ) {
        define( 'POPMAKE_FORCE_SCRIPTS', true );
    }

    Hope that helps, Please take a moment to click that it Works and to rate and review the plugin or support.

Viewing 1 replies (of 1 total)
  • The topic ‘[MAYBE WILL HELP YOU] Pop Up doesn't work if created by shortcode’ is closed to new replies.