<?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: find out is gravityforms were called on page</title>
		<link>https://legacy.forums.gravityhelp.com/topic/find-out-is-gravityforms-were-called-on-page</link>
		<description>Gravity Support Forums Topic: find out is gravityforms were called on page</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 11:07:14 +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/find-out-is-gravityforms-were-called-on-page" rel="self" type="application/rss+xml" />

		<item>
			<title>obvio on "find out is gravityforms were called on page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/find-out-is-gravityforms-were-called-on-page#post-10151</link>
			<pubDate>Tue, 21 Sep 2010 11:46:59 +0000</pubDate>
			<dc:creator>obvio</dc:creator>
			<guid isPermaLink="false">10151@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;if i put those in my functions.php they are enqueued and echoed to the footer *on any page view* (any unique url), even if the page doesn't have any shortcode or function call to a gravity-form.&#60;/p&#62;
&#60;p&#62;code in functions.php just runs any time.. i'm looking to know if there's an early stage -just after the query was made- and before starting the file output so then then to enqueue those files.&#60;/p&#62;
&#60;p&#62;ps.&#60;br /&#62;
email notifications for topic don't work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "find out is gravityforms were called on page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/find-out-is-gravityforms-were-called-on-page#post-10063</link>
			<pubDate>Sun, 19 Sep 2010 11:04:02 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">10063@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What extra file is being included? I guess I'm missing something here.. if everything is enqueued properly, then the files should only be loaded on pages that actually have forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>obvio on "find out is gravityforms were called on page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/find-out-is-gravityforms-were-called-on-page#post-10059</link>
			<pubDate>Sun, 19 Sep 2010 09:07:24 +0000</pubDate>
			<dc:creator>obvio</dc:creator>
			<guid isPermaLink="false">10059@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;bump()?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>obvio on "find out is gravityforms were called on page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/find-out-is-gravityforms-were-called-on-page#post-9862</link>
			<pubDate>Tue, 14 Sep 2010 16:55:01 +0000</pubDate>
			<dc:creator>obvio</dc:creator>
			<guid isPermaLink="false">9862@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;i know those. this is how i already do it.. what i was looking for is some kind of a conditional to put in functions.php so the extra file won't get included on any page, but without using in_category or something similar. i need something like $_GET['gravityforms'] = form_id or something similar.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "find out is gravityforms were called on page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/find-out-is-gravityforms-were-called-on-page#post-9861</link>
			<pubDate>Tue, 14 Sep 2010 16:43:00 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">9861@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you're embedding a form via the shortcode or the new forms widget, the scripts and CSS should only load on the pages that have forms and not on pages where forms don't exist.&#60;/p&#62;
&#60;p&#62;When using a Gravity Form in a third party sidebar widget or embedding it anywhere using the function call, you need to manually enqueue the scripts and CSS by placing a short script block in your theme's functions.php file.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;wp_enqueue_script(&#38;quot;gforms_ui_datepicker&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/jquery-ui/ui.datepicker.js&#38;quot;, array(&#38;quot;jquery&#38;quot;), &#38;quot;1.3.9&#38;quot;, true);

wp_enqueue_script(&#38;quot;gforms_datepicker&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/datepicker.js&#38;quot;, array(&#38;quot;gforms_ui_datepicker&#38;quot;), &#38;quot;1.3.9&#38;quot;, true);

wp_enqueue_script(&#38;quot;gforms_conditional_logic_lib&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/conditional_logic.js&#38;quot;, array(&#38;quot;gforms_ui_datepicker&#38;quot;), &#38;quot;1.3.9&#38;quot;, true);

wp_enqueue_style(&#38;quot;gforms_css&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/css/forms.css&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Just like using the shortcode, the conditional logic scripts, datepicker script, form CSS and other elements needed for the full form functionality will be loaded only on pages with a form present.&#60;/p&#62;
&#60;p&#62;You can find more information at the URL below&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/embedding-a-form/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/embedding-a-form/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "find out is gravityforms were called on page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/find-out-is-gravityforms-were-called-on-page#post-9859</link>
			<pubDate>Tue, 14 Sep 2010 16:41:05 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">9859@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, you can embed a form via the short code or via a function call in your theme template file itself.  You can read more on this here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/embedding-a-form/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/embedding-a-form/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The function and parameters are listed on that page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>obvio on "find out is gravityforms were called on page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/find-out-is-gravityforms-were-called-on-page#post-9854</link>
			<pubDate>Tue, 14 Sep 2010 15:56:08 +0000</pubDate>
			<dc:creator>obvio</dc:creator>
			<guid isPermaLink="false">9854@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I want to know if it's possible to know if there's a call to gravity form through FUNCTION in my template and not through shortcode so I can then include the script/style files and not not do it on every page.&#60;/p&#62;
&#60;p&#62;I cant use is_catgory() or the likes of those, think of page template that may be used randomly (cant use is_page or is_single either).
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
