Home>Support>Where to find ‘Menu’ code for Excluded JavaScript Files in WP Rocket?

Where to find ‘Menu’ code for Excluded JavaScript Files in WP Rocket?

Hi all,
I’m using WP Rocket 3.9 on my Vantage Premium site.
After enabling “Delay JavaScript Execution” in WP Rocket, the menu button on mobile site needs to be hit twice in order to work. WP Rocket users on FB are telling me I need to add the menu code to “Excluded JavaScript Files” in the plugin. Probably a basic question I know, but where would I find this code?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 26 days, 7 hours ago Andrew Misplon Hi, I Work Here

    Hi Shaunoc1

    Thanks for reaching out.

    You’ll need to check the format WP Rocket requires the script path. You might need to add your URL. The menu JS is located at:

    /wp-content/themes/vantage/inc/mobilenav/js/mobilenav.min.js

    Please, find an update on Vantage Premium below.

    In early August 2016 we stopped selling Vantage Premium and introduced SiteOrigin Premium, a single plugin that adds additional functionality to Page Builder by SiteOrigin, the SiteOrigin Widgets Bundle and all of our themes. In August of 2018 we discontinued email support and updates for Vantage Premium.

    Almost all of the additional settings previously found in Vantage Premium are now part of the free Vantage theme hosted on the WordPress.org theme directory. This version is being regularly updated. Footer Attribution and Ajax Comments, two options previously part of Vantage Premium are now addons in SiteOrigin Premium.

    If you’d like to make use of the Footer Attribution and Ajax Comments addons in SiteOrigin Premium as well as email support and a host of additional functionality, please find a 30% discount code below:

    Private Snippet

    If you have any questions, please let us know.

  2. 26 days, 5 hours ago shaunoc1

    Hi Andrew,
    That’s great, thank you for the reply, will give that a try.

    Shaun

  3. 26 days, 5 hours ago Andrew Misplon Hi, I Work Here

    Sure, no problem.

    I can’t recall the WP Rocket interface offhand. Perhaps check their docs and check what format the path should be in. Should it be a full path with your domain included or should it just be relative to the /wp-content/ folder?

    Cheers

  4. 25 days, 15 hours ago shaunoc1

    Thanks Andrew. I’ve been hearing on FB forums that people are encountering other issues with that feature too, so I might leave it switched off until WP Rocket have resolved it fully.

  5. 25 days, 14 hours ago Andrew Misplon Hi, I Work Here

    Sounds good!

    If any follow-up questions arise, please, let us know.

    Cheers for now :)

    Andrew

Please log in to post on our forums. Signing up is free.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More