Is there a way to add <script> tags to the footer?
I wanted to add a simple lightboxing plugin to the site. I was able to do it by adding the <script> and <link> tags to a custom HTML widget, but I had to also add a link to the jQuery CDN, otherwise it gave an error because it was trying to run the lightbox code before running jQuery.
That's why I want to a way to add more <script> tags to the footer, below the <script> tag that runs jQuery.
You can add scripts to the footer or anywhere else on the page. If you encapsulate your scripts inside a dnOnLoad(){ // } function, they will fire after our script libraries have loaded which on some pages is at the very end of the page load as we defer to speed up page loads.