Wordpress theme breaks existing jquery plugins
I made a custom wordpress theme for a company, and I am using the wp_cycle plugin on the homepage. The wp_cycle plugin only functions when my theme is not installed.
I can't find a js library conflicts and the web inspector does not show any errors. Can anyone help me diagnose the problem?
http://www.circularknitservices开发者_如何学Python.com
You do have an error; use the error console to see "Result of expression '$' [undefined] is not a function."
Remove the other js libraries to narrow down the issue.
See http://api.jquery.com/jQuery.noConflict/ to be sure you are running jQuery in no conflict mode even when not using other libraries.
change all your uses of $() to jQuery(). that way any namespace conflicts with other frameworks are irrelevant. should get you working.
精彩评论