jQuery conflict
-
= I installed Meteor Slides, and now my theme or plugin’s jQuery goodies are broken! =
Your theme or plugin is probably loading an extra copy of jQuery from the theme or plugin, or a third party server. This is unnecessary because WordPress already uses jQuery and it is included in the WordPress install. Meteor Slides loads the version that is within WordPress, to fix this, change your theme or plugin to use the copy of jQuery that comes with WordPress, like this
<?php wp_enqueue_script("jquery"); ?>.This happened and I’m not really sure how to fix it. I’m using quovolver to rotate testimonials with the methods outlined on this site: http://bit.ly/duLywc
-Quovolver code-
In functions.php I’ve added:if (is_admin()) { } else { wp_deregister_script('jquery'); wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"), false, '1.3.2'); wp_enqueue_script('jquery'); }This is in my head tag:
<script type="text/javascript" src="http://ehub23.webhostinghub.com/~theatt8/content/wp-content/plugins/quovolver_v1.0/jquery.quovolver.js"></script> <script type="text/javascript"> $(document).ready(function(){ var quovolver_jQuery = jQuery.noConflict(); quovolver_jQuery('div.quovolver').quovolver(500, 10000); }); </script>Any help would be hugely appreciated!
Site is here: http://ehub23.webhostinghub.com/~theatt8/
The topic ‘jQuery conflict’ is closed to new replies.