• Resolved wpnewbee123

    (@wpnewbee123)


    popup maker is not working because I am using Autoptimize. I would like to exclude popup maker’s javascript from Autoptimize. However I am not sure of the name of the javascript i have to exclude. Is it popmake.js or popup-maker.js or something else? please help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter wpnewbee123

    (@wpnewbee123)

    Any help appreciated. Otherwise I have try another plugin.

    waltmesser

    (@waltmesser)

    @wpnewbee123

    From AO’s FAQ:

    How does “exclude from optimizing” work?

    Both CSS and JS optimization can skip code from being aggregated and minimized by adding “identifiers” to the comma-separated exclusion list. The exact identifier string to use can be determined this way:

    If you want to exclude a specific file, e.g. wp-content/plugins/funkyplugin/css/style.css, you could simply exclude “funkyplugin/css/style.css”.

    If you want to exclude all files of a specific plugin, e.g. wp-content/plugins/funkyplugin/js/*, you can exclude for example “funkyplugin/js/” or “plugins/funkyplugin”.

    If you want to exclude inline code, you’ll have to find a specific, unique string in that block of code and add that to the exclusion list. Example: to exclude <script>funky_data=’Won\’t you take me to, Funky Town'</script>, the identifier is “funky_data”.

    Hope that helps!

    Thread Starter wpnewbee123

    (@wpnewbee123)

    Thank you very much.
    The js script exclusion works: popup-maker/assets/js/
    The CSS exclusion doesn’t work: plugins/popup-maker/

    when I completely disable CSS optimization from Autoptimize, then popup maker works.I don’t know if this is an Autoptimize issue or there are multiple css files to be excluded.

    Thanks again.

    you can check if the CSS from popup-maker is excluded by looking for it in the HTML source @wpnewbee123, it’ll probably be there, meaning you’ll probably need to exclude more.

    waltmesser

    (@waltmesser)

    @wpnewbee123

    You could also try disabling the Popup Maker CSS, then copy/pasting it into your own theme styles.

    Here’s a guide on how to do that – read Solution #3. Not sure if it will work in this case, but it could be worth trying.

    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.

    Hi, run into this problem myself, Autoptimize breaks PUM.. or vise versa 🙂

    Anyway, I found out that it is (for me at least) the “Remove Google Fonts?” option that actually breaks PUM. PUM works ok without excluding js or css from AO, but if that feature is enabled, then it wont.

    – Yorkki

    Plugin Author Daniel Iser

    (@danieliser)

    @yorkki – Great tip, can you elaborate. IS the remove google fonts setting part of AO?

    Yes it is AO feature

    let me know if you need more info on Autoptimize @danieliser , I’m the developer and will be happy to assist 🙂

    Plugin Author Daniel Iser

    (@danieliser)

    @optimizingmatters – Would love to open a separate dialogue and get with you to do some testing and guarantee they work together flawlessly for the future. I’m sure there are things we could improve on in this area. support at wppopupmaker.com

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘name of javascript to exclude from Autoptimize’ is closed to new replies.