@lug said in Load JavaScript in Footer:
Is there a way of loading all the external scripts as part of the footer rather than in the site’s head section? And, if not, is it necessary for Lay Theme to load all the external resources before upon loading the site?
Hey @lug
Lay Theme has many different JavaScript files, some of which need to be loaded in <head>
Others can be loaded in the footer and they are.
I know this is not optimal but since Lay Theme has different Addons, their js is only loaded if the addon is installed and activated.
Please try these things:
https://laytheme.com/documentation.html#speedingup
And disable all plugins you don't use, even the Lay Theme ones you don't use.
You can also use a CDN plugin, but it would be better if you could instead just use a CDN of your webhost. Cause the CDN plugins often only upload your images to CDNs.