Title: Theme Menu doesn&#8217;t work
Last modified: December 20, 2020

---

# Theme Menu doesn’t work

 *  [topfgartenwelt](https://wordpress.org/support/users/topfgartenwelt/)
 * (@topfgartenwelt)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftheme-menu-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/theme-menu-doesnt-work/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/theme-menu-doesnt-work/page/2/?output_format=md)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13815730)
 * 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](https://wordpress.org/support/users/topfgartenwelt/)
 * (@topfgartenwelt)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13816189)
 * 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](https://wordpress.org/support/users/topfgartenwelt/)
 * (@topfgartenwelt)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13816211)
 * 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](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13816212)
 * try entering `wp-content/themes` in the exclusion list?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13816281)
 * 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](https://wordpress.org/support/users/topfgartenwelt/)
 * (@topfgartenwelt)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13816394)
 * That doesn’t work wp-content/themes too. If I exclude the Merge and Minify files
   it works partially. 🙁
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13816419)
 * Afraid that confirms MMR + AsyncJS are not a good combination topfgartenwelt :-/
 *  Thread Starter [topfgartenwelt](https://wordpress.org/support/users/topfgartenwelt/)
 * (@topfgartenwelt)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13816587)
 * What plugin I should use instead of merge and minify?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13816983)
 * You could give Autoptimize a try (it’s mine), but e.g. “fast velocity minify”
   is great too.
 *  Thread Starter [topfgartenwelt](https://wordpress.org/support/users/topfgartenwelt/)
 * (@topfgartenwelt)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13817089)
 * Ok I will try this one. I have also tried to deactivate merge and minify. But
   the problem persists…
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13817120)
 * well, with MMR deactivated what JS errors do you see on the browser console?
 *  Thread Starter [topfgartenwelt](https://wordpress.org/support/users/topfgartenwelt/)
 * (@topfgartenwelt)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13817539)
 * 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](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13817896)
 * 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](https://wordpress.org/support/users/topfgartenwelt/)
 * (@topfgartenwelt)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13818319)
 * 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](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](https://wordpress.org/support/users/topfgartenwelt/)
 * (@topfgartenwelt)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/#post-13818452)
 * 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)

1 [2](https://wordpress.org/support/topic/theme-menu-doesnt-work/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/theme-menu-doesnt-work/page/2/?output_format=md)

The topic ‘Theme Menu doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/async-javascript/assets/icon-128x128.png?rev=1839260)
 * [Async JavaScript](https://wordpress.org/plugins/async-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/async-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-javascript/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/theme-menu-doesnt-work/page/2/#post-13818652)
 * Status: not resolved