To be able to add jQuery to the WordPress you first need to create js folder in your theme / child-theme directory. After that create example.js file in the js directory. Then in the functions.php add next code: /*add jquery to the WP*/ add_action(...