If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I made a jquery script for a “custom” fluid accordion.
I attempted to put the script in the wordpress page (after the content), where it didn’t execute. then I tried in the footer. still didn’t execute. looked at the console, it looked like I needed to pass ($) in. So I did through an Anonymous function. It then said it can’t execute an undefined function… so…
Why doesn’t it Recognize Jquery (because I can see it clearly in the Head) and what do I do to Pass Jquery in (or however i can get the script to work)
Place the jquery script on footer.php above the </body> tag. Also, you might need to include jQuery.noConflict(); at the start of your script.
The topic ‘Custom Jquery Script- Where to put & do I have to pass $’ is closed to new replies.