jQuery + Wordpress Help

Hey guys,

I have noticed that all of my jQuery scripts have stopped working a few days ago. I updated to the latest version of wordpress 2.9.1 and a few days later my scripts stopped working.

I’ve done some research and have found that you have to replace $( with jQuery( in wordpress for it to work. However this method didn’t work for me.

Here’s my code:


<script type="text/javascript" src="http://idesigntuts.com/wp-content/themes/tuts/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
		//Horizontal Sliding
		$('.boxgrid.slideright').hover(function(){
			$(".cover", this).stop().animate({left:'325px'},{queue:false,duration:300});
		}, function() {
			$(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});
		});
	});
</script>

Plugins I have installed:

  • WP Super Cache
  • WP-PageNavi
  • Search Everything
  • Magic-fields

The weird thing is they stopped working yesterday, I haven’t really changed anything structure or plugin wise for this to stop working.

Any help would be greatly appreciated,
Mario

The may have been working off a cached file. Are you using

wp_enqueue_script( $handle, $src = false, $deps = array(), $ver = false, $in_footer = false )