It’s probably a plugin or your theme which is inserting the jQuery javascript in the header. Look in the source code for other scripts that are called after the jQuery scripts or deactivate all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the plugin that is using jQuery.
Hi Thanks,
This is what gets loaded just after Google Analytics Plugin….
<link rel="alternate" type="application/rss+xml" title="Coffee Machine Reviews » Compare AEG Coffee Machines Comments Feed" href="http://coffee-machines.storepage.co.uk/compare/compare-aeg-coffee-machines/feed" />
<script type='text/javascript' src='http://coffee-machines.storepage.co.uk/wp-includes/js/l10n.js?ver=20101110'></script>
<script type='text/javascript' src='http://coffee-machines.storepage.co.uk/wp-includes/js/jquery/jquery.js?ver=1.4.4'></script>
<link rel='index' title='Coffee Machine Reviews' href='http://coffee-machines.storepage.co.uk' />
<link rel='up' title='Compare Brands' href='http://coffee-machines.storepage.co.uk/compare' />
<link rel='prev' title='Siemens Coffee Machines Reviews' href='http://coffee-machines.storepage.co.uk/siemens-coffee-machines-reviews' />
<link rel='next' title='Compare DeLonghi Coffee Machines' href='http://coffee-machines.storepage.co.uk/compare-delonghi-coffee-machines' />
Either side of the jQuery inclusion are WP additions to the head. Does this make a difference or are script includes, links etc queued before output to the page?
I would try deactivating the plugins first to see if that’s the problem. after that try deregistering jquery.
in your theme’s functions.php:
/**
* Use latest jQuery release
*/
if( !is_admin() ){
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://code.jquery.com/jquery-latest.min.js"), false, '');
wp_enqueue_script('jquery');
}
Great :o) I’ll give this a try, thanks for your help