Include & Register Javascript files in WordPress in functions.php


/ Published in: PHP
Save to your folder(s)

This code should be added to the functions.php file in the theme's folder. The code will deregister the local copy of jQuery and instead include the google hosted copy. It will also register other scripts.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.