Skip to content Skip to sidebar Skip to footer

Jquery Not Working In Wordpress 3.5

So I seem to have an issue with one of my old Wordpress themes. I just brought one of my themes out of the darkness to use as a piece of my portfolio, and immediately realized that

Solution 1:

Are you sure including 2 different versions of jQuery on the same page won't cause any problems?

The jQuery version WordPress ships with (which might get included when you call wp_head(); ) loads in the no conflict mode. This is explained here:

Basically you need to wrap your script with

jQuery(document).ready(function($) {
  // $() will work as an alias for jQuery() inside of this function
});

Post a Comment for "Jquery Not Working In Wordpress 3.5"