As I understand wordpress already loads a jquery library via a googles website by default in the functions.php file. So I know not to load another jquery library as it can result in problems
I know that prototype came before jquery so using “$” will run you into errors. Instead we should use jQuery(). And in no conflict mode we can use the shorthand $j.
So all that stuff is obvious. So what do I do when the library is loading properly (i did a view source and it loads fine), the .js file is using “jQuery()”, and I am not trying to call another jquery library?
I’ve been going nuts for the past week trying to figure out how to get jQuery to work in wordpress. Has anyone figured it out?
- The topic ‘How do you get jQuery to work in WordPress?’ is closed to new replies.