Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Hi there Tayyab,
    Autoptimize is a performance-centric plugin, that by default aggregates and minimizes all CSS & JS, with the JS by default loaded late & deferred. Given that context, it is bound to break plenty JS-plugins and because of that Autoptimize allows users to configure it to not break their specific combination of the theme and their plugins. There’s a lot of info in the FAQ on how to configure/ troubleshoot a site with Autoptimize.

    In the case of “facebook page like popup box” you’ll probably have to (instruct your users to) exclude jquery and your plugin’s JS.

    Better even, would be if you plugin would wait to initialize until the entire document (and deferred scripts) are loaded. But that’s an outside the scope of AO optimization 🙂

    Have fun,
    frank

    Thread Starter arkh

    (@itayyab0o1)

    Hi there,
    I have tried after adding scripts to exclude list but its not working,
    The scripts I have added to exclude list are not being shown in the source of the page.
    Please help!

    Plugin Author Frank Goossens

    (@futtta)

    Sure. What URL can I check + can you copy/paste the exact string in “Exclude scripts from Autoptimize”?

    frank

    Thread Starter arkh

    (@itayyab0o1)

    s_sid,smowtion_size,sc_project,WAU_,wau_add,comment-form-quicktags,edToolbar,ch_client,seal.js,wpfblbox.js,magicsuggest-min.js,jquery.jazz-popup.js

    This is the exact string in “Exclude scripts from Autoptimize

    http://www.tayyabismail.tk/
    This the link to the test site where I am testing the issues.

    Thread Starter arkh

    (@itayyab0o1)

    https://wordpress.org/plugins/facebook-page-like-popup-box/
    wpfblbox.js,magicsuggest-min.js,jquery.jazz-popup.js

    These scripts belong to the above plugin

    Thread Starter arkh

    (@itayyab0o1)

    I have also tried this string

    s_sid,smowtion_size,sc_project,WAU_,wau_add,comment-form-quicktags,edToolbar,ch_client,plugins/facebook-page-like-popup-box,seal.js

    Plugin Author Frank Goossens

    (@futtta)

    jquery.js (or jquery.min.js or jquery-min.js) will need to be excluded as well itayyab0o1.

    frank

    Thread Starter arkh

    (@itayyab0o1)

    Thanks!
    Its working!

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

The topic ‘Conflict with a plugin’ is closed to new replies.