<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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">
	<channel>
		<title>Gravity Support Forums Topic: how to use jquery from google&#039;s cdn</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-use-jquery-from-googles-cdn</link>
		<description>Gravity Support Forums Topic: how to use jquery from google&#039;s cdn</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 11:13:05 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/how-to-use-jquery-from-googles-cdn" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "how to use jquery from google&#039;s cdn"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-use-jquery-from-googles-cdn#post-45638</link>
			<pubDate>Thu, 05 Jan 2012 17:17:41 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">45638@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sweet. I'm glad you figured it out and thanks too for sharing your solution. I'm sure others will be happy to use it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>obvio on "how to use jquery from google&#039;s cdn"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-use-jquery-from-googles-cdn#post-45599</link>
			<pubDate>Thu, 05 Jan 2012 12:48:50 +0000</pubDate>
			<dc:creator>obvio</dc:creator>
			<guid isPermaLink="false">45599@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;solved!&#60;br /&#62;
Use this in functions.php&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function my_scripts_method() {
    wp_deregister_script( &#38;#39;jquery&#38;#39; );
    wp_register_script( &#38;#39;jquery&#38;#39;, &#38;#39;http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js&#38;#39;);
    wp_enqueue_script( &#38;#39;jquery&#38;#39; );
}    

add_action(&#38;#39;wp_enqueue_scripts&#38;#39;, &#38;#39;my_scripts_method&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;from &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/wp_enqueue_script&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/wp_enqueue_script&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>obvio on "how to use jquery from google&#039;s cdn"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-use-jquery-from-googles-cdn#post-45597</link>
			<pubDate>Thu, 05 Jan 2012 12:40:17 +0000</pubDate>
			<dc:creator>obvio</dc:creator>
			<guid isPermaLink="false">45597@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm using on my themes jquery from the google cdn, is there a way to prevent gravity from loading its own copy and use the registered and loaded one instead?&#60;/p&#62;
&#60;p&#62;this is how jquery is loaded in my theme:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;wp_register_script( &#38;#39;jQuery-cdn&#38;#39;, &#38;#39;https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js&#38;#39;, null, &#38;#39;1.7.1&#38;#39;, false );
wp_enqueue_script( &#38;#39;jQuery-cdn&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I also think it looks cleaner if styles are outputted in the head section instead of in the widget itself.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
