• First of all your plugin works fine, but I have one problem withit and I can’t find a solution for it. In Chrome and only in Chrome the main-menu of my template (Newspaper from tagdiv) doesn’t work for the category recipes and on the mobile theme plugin the main-menu in Chrome and only in Chrome doesn’t work for the homepage, garden, family and sonstiges (miscellaneous), but it works for recipes.

    For the desktop version I get the following information in the console:
    ofenkartoffel-raeucherlachs-dillsauce:4352 Uncaught ReferenceError: tdbMenu is not defined
    at HTMLDocument.<anonymous> (ofenkartoffel-raeucherlachs-dillsauce:4352)
    at i (392819be-1604329671.min.js:2)
    at Object.fireWith [as resolveWith] (392819be-1604329671.min.js:2)
    at Function.ready (392819be-1604329671.min.js:2)
    at HTMLDocument.J (392819be-1604329671.min.js:2)

    I’ve tried to exclude the following min.js in the settings but it seems that it doesn’t work. I did it like that: 392819be-1604329671.min.js, 392819be-1604329671.min.js Is this the correct way to wright the path?

    I hope you can help me, because your plugin is the first that helped to get the Largest Contentful Paint down.

    Greetings Kathrin

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

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

    (@optimizingmatters)

    392819be-1604329671.min.js and similar are generated by “merge minify refresh”, you have to exclude based on the original filename topfgartenwelt. Alternatively try selecting your theme from the “Theme Exclusions” dropdown?

    hope this helps,
    frank

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Dear Frank, thank you very much! So I have to use the original javascript for the exception? How can I find it out which javascrip file is loaded here? I looked into the source code but I’m no coder so it’s a little bit hard for me…

    Greetings Kathrin

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Excluding the theme doesn’t work… When I exclude the merge and minify files it works for the homepage and all categories instead recipes…

    Greetings Kathrin

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    try entering wp-content/themes in the exclusion list?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Don’t really know how MMR works, it is possible it runs before AsyncJS does, in which case it will be hard to configure AsyncJS correctly as the filenames are bound to change and don’t allow to distinguish between theme & plugins JS .. :-/

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    That doesn’t work wp-content/themes too. If I exclude the Merge and Minify files it works partially. ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Afraid that confirms MMR + AsyncJS are not a good combination topfgartenwelt :-/

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    What plugin I should use instead of merge and minify?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    You could give Autoptimize a try (it’s mine), but e.g. “fast velocity minify” is great too.

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Ok I will try this one. I have also tried to deactivate merge and minify. But the problem persists…

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, with MMR deactivated what JS errors do you see on the browser console?

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Then I see the following:

    ofenkartoffel-raeucherlachs-dillsauce:4387 Uncaught ReferenceError: tdbMenu is not defined
    at HTMLDocument.<anonymous> (ofenkartoffel-raeucherlachs-dillsauce:4387)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Function.ready (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    In that case can you try excluding wp-content/plugins/td-cloud-library/assets/js/js_files_for_front.min.js or even wp-content/plugins/td-cloud-library/ ?

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    I have added a modern JQuery with the help of this link to the theme now: https://nimblewebdeveloper.com/blog/use-modern-jquery-in-wordpress

    Now it works, but has a little delay sometimes. I load the JQuery from the CDN, would it be better to include it directly into the theme?

    Greetings Kathrin

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    It works if I exclude: /wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js, wp-content/plugins/td-composer/mobile/js/tagdiv_theme.min.js – your suggestions didn’t work ?? But

    When I want to use AdSense – is here also an exception required?

    Thank you for your help!!

    Greetings Kathrin

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Theme Menu doesn’t work’ is closed to new replies.