• Resolved wibergsweb

    (@wibergsweb)


    Hi

    The plugin was easily installed and activated, but when I tried to use it on my site and I try to close it with the “X” or “No thank you” – link nothing happens (and nothing shows up in the console).

    I haven’t changed any text or anything, just activated the popup. I’m using WordPress 4.2.7 and the theme Nirvana. I’ve tried with the default theme, same issue. I also tried setting the impression to always and always and once per session.

    https://www.ads-software.com/plugins/page-takeover/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi wibergsweb,

    could you please share the URL where you have the popup, so I can take a look? Thanks!

    Thread Starter wibergsweb

    (@wibergsweb)

    I’m sorry I can’t do that for the moment, because the popup is on local wampserver right now only. I was aiming to use your plugin before upcoming update of website https://wibergsweb.se/. I want it to work before updating it ?? Btw – I think your plugin is a great idea, kind of disturbed that I didn’t got that idea myself ??

    Thread Starter wibergsweb

    (@wibergsweb)

    Tell me if there is anything I could look for/check?

    Thanks a lot! ?? Close function is done with jQuery. Just retested all browsers and it seems to be working, but it would depend on other plugins you are using. You could temporarily disable all plugins and check whether it works.

    If possible, test on a live test website first ??

    Thread Starter wibergsweb

    (@wibergsweb)

    Hi

    I’m quite sure this has something to do with jquery/functions not loading where you want to.

    Checking out your code a little and I suspect this has something to do with it:

    <?php echo page_takeover_trigger(); ?>
    <script type="text/javascript">
        jQuery( '#page-takeover-decline' ).on( 'click', function () {
            jQuery( ".ui-dialog" ).hide();

    in full-screen-preview.php. You have enqued other scripts, why don’t enque this script as well?

    Hope that helps!

    Thread Starter wibergsweb

    (@wibergsweb)

    I’ve set up the page here: https://sk.wibergsweb.se/ (wait 5 seconds).

    Hi wibergsweb,

    thanks. I was able to find the issue and update the plugin to version 1.0.1. Thanks for helping me discover and fix it ??

    Please update the plugin and let me know if that fixed it.

    Thanks!

    Thread Starter wibergsweb

    (@wibergsweb)

    Thanks a lot! Your update works like a charm! ??

    Woohoo! ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Works fine except when trying to close…’ is closed to new replies.