Is the same as installing any other wordpress plugins?
+1
A:
Not really, you kind of have to go through the back door a little.
First off, make sure you're including jQuery the 'right' way (WP includes a copy):
<?php wp_enqueue_script("jquery"); ?>
In the header, include the plugin script the way you normally would, eg,
<script type='text/javascript' src='source/script.js'></script>
And then when you are writing your script, make sure it's in no-conflict mode:
(function($){
$(document).ready(function(){
//Scripts go in here!
});
})(jQuery);
And then stick the actual script inside the jQuery no-conflict wrapper.
Hope this helps.
saibot
2010-01-28 04:00:22