• Resolved stealthbyroot

    (@stealthbyroot)


    Hi Guys,

    Did anybody manage to make those two plugins working properly at the same time?
    The great plugin, just those things are bothering me a lot.

    Thank you in advance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author simonpedge

    (@simonpedge)

    With Autoptimize, try disabling the Aggregate (combine) JavaScript feature.
    I think this combining of JS files into a single JS file is messing up the order of execution of JS files required by WordPress – ie. some JS files are dependant on others being executed first…

    So try this out and see if it helps.

    It *might* be sufficient to simply add plugins/slide-anything/ to the comma-separated JS optimization exclusion list. If not look at the browser console JS errors as those give a clue about what is going wrong.

    frank (ao dev)

    Plugin Author simonpedge

    (@simonpedge)

    Ok, that’s worth a try.
    So long as the Slide Anything JavaScript is executed after jQuery has loaded it should be fine.

    by default jQuery is excluded from optimization and the aggregated JS is loaded (and executed) later 🙂

    Thread Starter stealthbyroot

    (@stealthbyroot)

    I try per suggestion to add plugins/slide-anything/ to the comma-separated JS optimization exclusion list and it is working for PC/desktop but for mobile is not working.
    So in my case it is working on mobile only if JS and CSS are disabled.

    It is not JS a problem CSS has a issue as well.

    • This reply was modified 5 years, 6 months ago by stealthbyroot.

    and if you exclude plugins/slide-anything/ both from JS and CSS optimization (and maybe also disable the “aggregate inline” options for both CSS & JS?

    Thread Starter stealthbyroot

    (@stealthbyroot)

    Well I have a progress, I think.

    For JS: owlcarousel.js, plugins/slide-anything/
    For CSS: /wp-content/plugins/slide-anything/owl-carousel/owl.carousel.css, /wp-content/plugins/slide-anything/owl, plugins/slide-anything/, /owl-carousel/animate.min.css

    are excluded.

    I will keep this thread open for a few days and make few more tests. For now everything looks good.

    Thank you all for your help.

    Updates will follow up.

    • This reply was modified 5 years, 6 months ago by stealthbyroot.
    Thread Starter stealthbyroot

    (@stealthbyroot)

    @optimizingmatters your last update seems to be working.

    Plugin Author simonpedge

    (@simonpedge)

    Ok good, this thread will be a good source of info for anybody else experiencing this issue.

    So if you experience issues with with Slide Anything and Autoptimize plugins installed, the solutions summarized is – within Autooptimize:
    1) Add plugins/slide-anything/ to the comma-separated JS optimization exclusion list
    2) Add plugins/slide-anything/ to the comma-separated CSS optimization exclusion list
    3) You may also be required to disable the “aggregate inline” options for both CSS & JS

    Thread Starter stealthbyroot

    (@stealthbyroot)

    This is tested and it is working.

    Closing the thread.

    Thank you all for your help and support.

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

The topic ‘Autoptimize + Slide Anything’ is closed to new replies.