Calling JQuery Plugin On Child Theme
-
Hi,
This is my first time adding jQuery to wordpress. I’ve been working at this for hours and made some progress but I finally decided to reach out for help.
I’m trying to include this jQuery plugin into my child theme. I’ve already registered and enqueued the script file on the functions.php page.
I’m having a problem with step 2 of the code.
How do I add this to my header?
$(document).ready(function() { $('img').hover_caption(); });
Would I have to make another script file and register and enqueue that like I did before?
Thank you.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Calling JQuery Plugin On Child Theme’ is closed to new replies.