<?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: Load google jquery api</title>
		<link>https://legacy.forums.gravityhelp.com/topic/load-google-jquery-api</link>
		<description>Gravity Support Forums Topic: Load google jquery api</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 14:57:41 +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/load-google-jquery-api" rel="self" type="application/rss+xml" />

		<item>
			<title>Vayu on "Load google jquery api"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/load-google-jquery-api#post-59112</link>
			<pubDate>Wed, 16 May 2012 04:33:27 +0000</pubDate>
			<dc:creator>Vayu</dc:creator>
			<guid isPermaLink="false">59112@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just saw that Carl answered this indirectly in a thread on another site here:&#60;br /&#62;
&#60;a href=&#34;http://wpcandy.com/teaches/how-to-load-scripts-in-wordpress-themes#comment-517876&#34; rel=&#34;nofollow&#34;&#62;http://wpcandy.com/teaches/how-to-load-scripts-in-wordpress-themes#comment-517876&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thank you Carl for elaborating on this.  It makes a lot of sense.  I never thought of the complications it can cause.&#60;/p&#62;
&#60;p&#62;Vayu
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Vayu on "Load google jquery api"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/load-google-jquery-api#post-58223</link>
			<pubDate>Tue, 08 May 2012 16:20:01 +0000</pubDate>
			<dc:creator>Vayu</dc:creator>
			<guid isPermaLink="false">58223@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi.&#60;br /&#62;
After reading your post today, I have become unsure of the way I load jquery in my themes.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/gravity-forms-v1-6-4-2-released/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/gravity-forms-v1-6-4-2-released/&#60;/a&#62;.  (By the way, I tried to post a comment on that page, but my comment was not submitted).&#60;br /&#62;
I have always loaded jQuery from Google's API, because I wanted to use the latest version at the time of developing the site, plus I thought there were some speed advantages in doing so.  I might be very wrong. :-)&#60;/p&#62;
&#60;p&#62;This is how I do it:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;wp_enqueue_scripts&#38;#39;, &#38;#39;load_javascript_files&#38;#39; );
/**
* Load scripts
*/
function load_javascript_files() {
	if (!is_admin()) {

		wp_deregister_script(&#38;#39;jquery&#38;#39;);

		wp_register_script(&#38;#39;jquery&#38;#39;, &#38;#39;https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js&#38;#39;, false, &#38;#39;1.7.2&#38;#39;, false);
		wp_enqueue_script(&#38;#39;jquery&#38;#39;);

	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Do you advice not to do this or what is your opinion on this method?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Vayu
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
