Add custom script links
Hello,
I've just been looking around the forum to look if this question wasn't raised before, but could not find it.
I'm trying to include graphs and maps into my website. I'm looking at using Google Charts for this. I now how to program, so I can easily integrate charts using the Muffin builder Column component. Great!
Now I'm looking at the best place to load Google's JavaScript library as generally as possible. I noticed the JS scripts get load in the wp-head function, but it seems to fundamental to the whole theme I'd rather not start to customize that taking future updates into account.
So, what do you consider the best way to get a new script-tag inserted as high as possible up the page?
Thanks for your input!
-wim
Comments
all javascript's we recommend to use inside Theme options > Layout > Custom CSS & JS > Custom JS section. We do not recommend to touch any themes files because it may be hard to update theme in the future.