Menu problem after activating "Exclude JavaScript files" in WpRocket

Posted in: Newspaper
Post count: 80

Hello,

I was having trouble loading visible images and have gone to the Wp Rocket guide. I understood that I had to exclude JavaScript files to fix problem https://docs.wp-rocket.me/article/1560-delay-javascript-execution-compatibility-exclusions/?utm_source=wp_plugin&utm_medium=wp_rocket I took the corresponding code for your template:

/jquery-?[0-9. :)(.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray

But, although everything works fine, the menu of the desktop version does not show the sub tabs since I activated it (in the mobile version they do work). I leave you a video so you can see how I see it logged in (which does work) and how it looks from an incognito visit. https://www.loom.com/share/6b87ec572cea487182db342cd8547571

  • This topic was modified 4 years by trebol30.
Post count: 21065

Hello @trebol30!

It seems that you have all the settings for the menu right, but the problem is from the cache plugin which do not allow the javascript to load.
Please note that this plugin is not a tested one with our theme.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.