• Resolved adamjam

    (@adamjam)


    I’m not sure if it’s another plugin, the wordpress update or autoptimize/js in footer.

    Thanks for the help it’s much appreciated!
    Adam.

Viewing 8 replies - 1 through 8 (of 8 total)
  • to test if it’s autoptimize, just add ?ao_noptimize=1 to the URL to load the page without the CSS & JS being optimized. if it works that way you should have a look at AO’s FAQ for info how to troubleshoot.

    frank (nosy ao dev)

    Thread Starter adamjam

    (@adamjam)

    Thanks Frank,

    That was it yeah! I’m not sure how to find the jQuery/js that the popup maker plugin is calling however, I’m assuming I need to add it to the exclude scripts from autoptimize field?

    Help here would be much appreciated! I’m very ignorant of jQuery/javascript

    Thanks
    Adam.

    As I don’t know “popup maker” I’m afraid I can’t give you specific advice Adam. Maybe @waltmesser or @danieliser can help? πŸ™‚

    Thread Starter adamjam

    (@adamjam)

    I hope so, thanks for the help Frank!

    @adamjam

    Sorry you’re having troubles, I think we can get this fixed.

    Can you provide a link and what has to be done to trigger the popup?

    Thanks for your patience.

    Thread Starter adamjam

    (@adamjam)

    No problem thanks for getting in touch.

    It’s clicking this banner on the home page – http://dwg2dwd82n1eg.cloudfront.net/wp-content/uploads/ensmith_banner.gif

    I believe now it’s beeing effected by autotimize and W3 total cache.

    The code is popmake-222|popmake-front-page-popup and is located in template-left-sidebar.php

    div class="page-header">
    			<div class="container">
    				<a class="popmake-222"><img src="http://ensmith.com/wp-content/uploads/ensmith_banner.gif" alt="Ensmith Animated Explainer Videos Home" title="Ensmith Animated Explainer Videos Home" /></a>
    			</div>

    Thanks Walter,
    Adam.

    • This reply was modified 9 years, 7 months ago by adamjam.

    @adamjam

    The popup isn’t loading on the page at all. It looks like you have three copies jQuery running, with two apparently being minified by AutOptimize. It’s not AO itself, it’s just having three copies of jQuery running, as they keep overwriting each other and removing important assets for PM, perhaps among other things.

    This theory is proven when I try to trigger your popup using my debug tool and it throws this error on your site, which basically says our PM code doesn’t exist, it doesn’t exist because that copy of jQuery got overwritten, “Uncaught TypeError: $(…).popmake is not a function”.

    Getting your site to run just one copy of jQuery should solve the problem.

    Also, just as a side note, you don’t have to create that extra <a class> for your Click Trigger, you could just add the popmake class to the <img> and it would work perfectly – this isn’t the problem – just for future reference.

    Hope that helps.

    Closing this ticket due to inactivity. If you’re still having an issue, create a new thread, link this one, and we will continue troubleshooting.

    Please take a moment to rate and review our plugin and/or support.

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

The topic ‘Pop-ups don’t load’ is closed to new replies.