The explanation for running jQuery in the footer is that it is not usually any use until all the articles has been packed anyway. Why create your people delay while your website a lot all of your programs before your content? The machine can only fill so many needs at once from a internet website.

Unless jQuery is altering the DOM as piece of its features, maybe you are secure to put your code in the footer.

This post shall be a tutorial post and I will show you how to load JavaScript in the theme’s footer

Put this line to your functions.php files:

	/* -- :[Replace WP jQuery With Google Latest jQuery And Put To The Footer]: -- */
	function shifnet_google_jquery()
		{
			if (!is_admin())
				{
					wp_deregister_script('l10n');
					wp_deregister_script('jquery');
					wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js', false, '1.6.2', true );
					wp_enqueue_script('jquery');
				}
		}
	add_action('init', 'shifnet_google_jquery');