Enqueuing jQuery for WordPress Theme

, , ,

Here is the function to add jQuery to the front end of the site.  You just need to enqueue the script labeled jquery.

If for some reason you would like to enqueue a different version you can do so by de-registering jquery and then re-registering it with the version you would like.

This only changes the front end so the backend is still using the jQuery version it needs.

Submit a Comment

Your email address will not be published. Required fields are marked *