Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Jquery and wordpress

I am troubleshooting a jquery based tab plugin in a wordpress 2012 child theme. From reading I see WP has jquery, but I could be wrong. In any case, I don't see jquery being called in the functions.php file. I could just call it the way I would in an html file.... but that is wrong

2 Answers

Matt Campbell
Matt Campbell
9,767 Points

jQuery is built into WordPress yes. You won't see it being called in your functions.php file because it's a core file. That is, until you were to do something such as deregister the included script and the register and enqueue a script from somewhere such as Google, so it's always up to date.

What's the code you're working with not doing and what is it supposed to be doing? Can you include what you think is the problem code?

Thanks for your reply -

THis is my page using "Tabby" short code http://www.ryerestaurant.com/rye/tab-test/

THe problem is not specific to Tabby or Godaddy - my theme is a 2012 child theme and has issues with IE9 so it is a pile of crap, probably. My net step is to keep studying....

THis is my page using "Tabby" short code http://www.ryerestaurant.com/rye/tab-test/

THe problem is not specific to Tabby or Godaddy - my theme is a 2012 child theme and has issues with IE9 so it is a pile of crap, probably. My net step is to keep studying....