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!
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
Fernando JimenezCourses Plus Student 8,203 Points
Why does Jquery work with Wordpress using jQuery('example') and not with $('example')???
everytime I run jquery on the console with Wordpress it doesn't understand the short version $
Steven Parker227,114 Points
I haven't done Wordpress programming, but it could be that it uses "$" for something else. It's just an alias after all. You could try resetting it, but that might break something if it was using it.
Or you could create your own shorthand ("var jq = jQuery").