<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Stop WordPress loading JQuery in wp_head()</title>
	<atom:link href="http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/</link>
	<description>web development, wordpress, e-commerce, london, international</description>
	<lastBuildDate>Sat, 17 Dec 2011 06:48:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Phill</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3823</link>
		<dc:creator>Phill</dc:creator>
		<pubDate>Sat, 20 Aug 2011 07:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3823</guid>
		<description>Indeed! You are a clever boy, thanks mate, this helped so much!</description>
		<content:encoded><![CDATA[<p>Indeed! You are a clever boy, thanks mate, this helped so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mog</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3815</link>
		<dc:creator>mog</dc:creator>
		<pubDate>Thu, 21 Jul 2011 10:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3815</guid>
		<description>I am a little confused, and when looking the first thing I came across was a duplicate post of this on the WP forum: http://wordpress.org/support/topic/jquery-from-google-cdn-fall-back-to-wp-local :) ..but I would load my first choice with my method using wp_head (functions.php) as I have stated, then use the fallback call immediately after this just in case, ..but in the header.php underneath wp_head() as done in the first post of the link above, ....instead using your cdn version instead of the loca one referenced.</description>
		<content:encoded><![CDATA[<p>I am a little confused, and when looking the first thing I came across was a duplicate post of this on the WP forum: <a href="http://wordpress.org/support/topic/jquery-from-google-cdn-fall-back-to-wp-local" rel="nofollow">http://wordpress.org/support/topic/jquery-from-google-cdn-fall-back-to-wp-local</a> :) ..but I would load my first choice with my method using wp_head (functions.php) as I have stated, then use the fallback call immediately after this just in case, ..but in the header.php underneath wp_head() as done in the first post of the link above, &#8230;.instead using your cdn version instead of the loca one referenced.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3814</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 21 Jul 2011 10:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3814</guid>
		<description>I load all my JS in the head (because I need to). How do I ensure I have a fallback for a CDN in the header?

I had something like this (see below) which worked until I moved it into functions.php with enqueue stuff.

&lt;code&gt;


      if (!window.jQuery) {
         document.write(unescape(&quot;%3Cscript src=&#039;/tpl/js/jquery/jquery-1.6.2.min.js&#039; type=&#039;text/javascript&#039;%3E%3C/script%3E&quot;));
      }
   
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I load all my JS in the head (because I need to). How do I ensure I have a fallback for a CDN in the header?</p>
<p>I had something like this (see below) which worked until I moved it into functions.php with enqueue stuff.</p>
<p><code></p>
<p>      if (!window.jQuery) {<br />
         document.write(unescape("%3Cscript src='/tpl/js/jquery/jquery-1.6.2.min.js' type='text/javascript'%3E%3C/script%3E"));<br />
      }</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Wold</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3535</link>
		<dc:creator>Jonathan Wold</dc:creator>
		<pubDate>Thu, 17 Mar 2011 19:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3535</guid>
		<description>Excellent solution, and the code feels right - Thank you! :)</description>
		<content:encoded><![CDATA[<p>Excellent solution, and the code feels right &#8211; Thank you! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mog</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3533</link>
		<dc:creator>mog</dc:creator>
		<pubDate>Wed, 09 Mar 2011 09:33:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3533</guid>
		<description>Can you let me know the url, ..and if possible set me up some admin login details so I can take a look.
Email me at mog@mogmachine.com
Thanks,</description>
		<content:encoded><![CDATA[<p>Can you let me know the url, ..and if possible set me up some admin login details so I can take a look.<br />
Email me at <a href="mailto:mog@mogmachine.com">mog@mogmachine.com</a><br />
Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3532</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Wed, 09 Mar 2011 05:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3532</guid>
		<description>Any idea why this would cause the WordPress Menu&#039;s to not work? You can&#039;t drag and drop the list items in the Menu&#039;s section of WordPress. Remove the code, and it works again. Any ideas?</description>
		<content:encoded><![CDATA[<p>Any idea why this would cause the WordPress Menu&#8217;s to not work? You can&#8217;t drag and drop the list items in the Menu&#8217;s section of WordPress. Remove the code, and it works again. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darth</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3528</link>
		<dc:creator>darth</dc:creator>
		<pubDate>Sun, 30 Jan 2011 15:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3528</guid>
		<description>you are the man.
i was trying to trick wp head, but the idea, simply exluding the call for jquery via the function.php never came to my mind.

thanks for making me a happy boy again.</description>
		<content:encoded><![CDATA[<p>you are the man.<br />
i was trying to trick wp head, but the idea, simply exluding the call for jquery via the function.php never came to my mind.</p>
<p>thanks for making me a happy boy again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sinan işler</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3527</link>
		<dc:creator>sinan işler</dc:creator>
		<pubDate>Fri, 28 Jan 2011 00:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3527</guid>
		<description>you are the man,

thank you :)</description>
		<content:encoded><![CDATA[<p>you are the man,</p>
<p>thank you :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3526</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Fri, 14 Jan 2011 17:23:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3526</guid>
		<description>I didn&#039;t need to include the CDN version, just remove jQuery all together which I&#039;ve never needed to do before so you just saved me a bunch of time - thanks!</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t need to include the CDN version, just remove jQuery all together which I&#8217;ve never needed to do before so you just saved me a bunch of time &#8211; thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mog</title>
		<link>http://www.mogmachine.com/stop-wordpress-loading-jquery-in-wp_head/comment-page-1/#comment-3372</link>
		<dc:creator>mog</dc:creator>
		<pubDate>Thu, 14 Oct 2010 09:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=1320#comment-3372</guid>
		<description>Glad to hear it, ..let me know if the fix isn&#039;t as much of a fix as you thought ;)</description>
		<content:encoded><![CDATA[<p>Glad to hear it, ..let me know if the fix isn&#8217;t as much of a fix as you thought ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 2/16 queries in 0.060 seconds using disk: basic
Object Caching 403/407 objects using disk: basic

Served from: www.mogmachine.com @ 2012-02-04 06:08:12 -->
