This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Defer parsing of Javascript

10 years ago · Last reply by Andrew Misplon 10 years ago

Hi,
I need to defer the Javascript on my site according to Google PageSpeed and GTmetrix. I use Metaslider pro for the main slider at the top and a slider widget at the bottom of my home page, and assume the sliders or dropdown menus are causing the problem. How can I do this?
Thanks.

URL: https://www.rustadderm.com

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 10 years, 8 months ago

    Hi Terustad

    Thanks for reaching out.

    You can move all the JavaScript that we’re in control of to the footer from Appearance > Theme Settings > General > Enqueue JavaScript in Footer. That’s theme JS.

    For everything else you’ll need to use a plugin like WP Super Cache to help change the enqueue point of scripts.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread