• Hi ,ive just tried your plugin, and its great, bud i have 2 problems after JS optimization:

    1)mobile menu does not open.
    2)Pluging “Preload” is totaly stuck…..

    Maybe i can just exclude some JS from AO?

    Thank u

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Can you try adding preloader, themes/oceanwp to the comma-separated JS exclusion list?

    Thread Starter markofedus

    (@markofedus)

    Can you write me what command exactly should i add there?

    Im sorry , im just learning(

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, on the main Autoptimize settings page, under the “JavaScript optimization” header you have “Exclude scripts from Autoptimize:”, in that field add , preloader, themes/oceanwp ?

    Thread Starter markofedus

    (@markofedus)

    done, but still doesn’t work – jQuery(window).load(function(){jQuery(‘#wptime-plugin-preloader’).delay(250).fadeOut(“slow”);setTimeout(wptime_plugin_remove_preloader,2000);function wptime_plugin_remove_preloader(){jQuery(‘#wptime-plugin-preloader’).remove();}});

    Thread Starter markofedus

    (@markofedus)

    What i noticet is that on woocommerce pages (categories and single product) everything is working perfectly Menu and Preload plugin , but on non-woocommerce it brakes (

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, what JS error do you get on the browser console?

    Thread Starter markofedus

    (@markofedus)

    when the Preloader Plugin is Off
    autoptimize_4f8e2d9d9d92103e11b51a481e97bac3.js:229 Uncaught SyntaxError: Unexpected end of input
    admin-bar.min.js:1 Uncaught TypeError: f.hoverintent is not a function
    at HTMLDocument.<anonymous> (admin-bar.min.js:1)

    When Preloader Plugin is ON

    autoptimize_a497d325c89ad95e0c749910d9b4ce30.js:230 Uncaught SyntaxError: Unexpected end of input
    admin-bar.min.js:1 Uncaught TypeError: f.hoverintent is not a function
    at HTMLDocument.<anonymous> (admin-bar.min.js:1)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK can you;
    1. untick “try/catch javascript” in Autoptimize
    2. clear they WP Fastest Cache page cache

    Thread Starter markofedus

    (@markofedus)

    Done:

    When untick “try-catch”:

    1.Preloader starded to work
    2.Mobile site-header still not working
    3.Now on WOoCommerce single-product-page photos have disappeared ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Can you disable JS aggregation/ minification/ optimization in WP Fastest Cache markofedus ? Using 2 plugins to optimize JS (or CSS) risk causing unpredictable problems.

    Thread Starter markofedus

    (@markofedus)

    Nothing ??

    The only one thing helps me, is untick- “Merge script files” (the second point in JS Options of AO), after that everything works but speedinsight shows -40 of speed ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Nothing ??

    well, what JS errors do you see? ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    any news @markofedus ?

    I did the same and for me works fine. just cut js/jquery/jquery.js, than save, delete AO cashe, than paste back in js exclude js/jquery/jquery.js, and again save and delete cashe. Looks like working good.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Autoptimize Brakes Mobile Menu’ is closed to new replies.