How to load all javascript files in footer in WordPress?

Posted by Prem Tiwari | Updated on

If you want to loads all JavaScript files in Footer section, then this question is for you. We have shared a WordPress snippet to move all JavaScript files from Header to Footer section for all pages.

How to load all javascript files in footer in WordPress?

Copy the below code and add at the end of your theme’s functions.php file and save it.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers