Adding jQuery in WordPress

load up jQuery in your theme
Put the following code in your header.php file in the section:

Call the wp_enqueue_script function before the wp_head function.Now call your own jQuery JavaScript file, after the wp_head function.

Here yourscrip=name of your javascript file.

Suggested Read:  How to Setup and Add Push Notifications in WordPress

You may also like...

Leave a Reply

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

*