What’s the final word on WordPress and jQuery?
I’ve read that jQuery is “built in” to recent WordPress releases. True?
I’ve had some success changing jQuery’s $ to “jQuery” to get it to run on my WP site. But now I’m having a hard time getting swapimage.js (a jQuery plugin) to work on another WP site:
Error: $.data is not a function Source File: http://sianafashions.com/includes/jquery.swapimage.js Line: 39
That’s from the JS error console in Firefox.
Can someone give me the “bottom line” — what do I need to do to get jQuery working with WordPress… best practices, what you do, etc.
- The topic ‘What’s the final word on WordPress and jQuery?’ is closed to new replies.