<?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: Gravity form enqueue scripts in functions.php vs. head.php</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-enqueue-scripts-in-functionsphp-vs-headphp</link>
		<description>Gravity Support Forums Topic: Gravity form enqueue scripts in functions.php vs. head.php</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:51:34 +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/gravity-form-enqueue-scripts-in-functionsphp-vs-headphp" rel="self" type="application/rss+xml" />

		<item>
			<title>mrwweb on "Gravity form enqueue scripts in functions.php vs. head.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-enqueue-scripts-in-functionsphp-vs-headphp#post-43498</link>
			<pubDate>Thu, 08 Dec 2011 18:18:24 +0000</pubDate>
			<dc:creator>mrwweb</dc:creator>
			<guid isPermaLink="false">43498@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok. Good to know. It certainly makes more sense for it to be in functions.php.&#60;/p&#62;
&#60;p&#62;Wish they would mention that in the documentation. Would've saved me some panicked thoughts.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Gravity form enqueue scripts in functions.php vs. head.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-enqueue-scripts-in-functionsphp-vs-headphp#post-43491</link>
			<pubDate>Thu, 08 Dec 2011 17:59:15 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">43491@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Mr Webb,&#60;/p&#62;
&#60;p&#62;Including it in the functions.php is ideal if you know what you're doing. The documentation is geared towards beginners where the simplest solution is often the best. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mrwweb on "Gravity form enqueue scripts in functions.php vs. head.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-enqueue-scripts-in-functionsphp-vs-headphp#post-43489</link>
			<pubDate>Thu, 08 Dec 2011 17:56:31 +0000</pubDate>
			<dc:creator>mrwweb</dc:creator>
			<guid isPermaLink="false">43489@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just for the sake of sharing my technique, here's the code I used. I only needed it for a form included on the homepage with gravity_form(), hence the if clause.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/dC1Srath&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/dC1Srath&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mrwweb on "Gravity form enqueue scripts in functions.php vs. head.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-enqueue-scripts-in-functionsphp-vs-headphp#post-43463</link>
			<pubDate>Thu, 08 Dec 2011 15:40:21 +0000</pubDate>
			<dc:creator>mrwweb</dc:creator>
			<guid isPermaLink="false">43463@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Reading &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gravity_form_enqueue_scripts&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gravity_form_enqueue_scripts&#60;/a&#62;, it says to place the gravity_form_enqueue_scripts function immediately before wp_head();.&#60;/p&#62;
&#60;p&#62;Is there a reason that we can't safely hook on to wp_head() instead with a high priority?&#60;/p&#62;
&#60;p&#62;Both seem to work, but I like keeping my enequeue-ing in functions.php if possible.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
