<?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: Trouble embedding form into template file</title>
		<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file</link>
		<description>Gravity Support Forums Topic: Trouble embedding form into template file</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 14:22:53 +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/trouble-embedding-form-into-template-file" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69241</link>
			<pubDate>Thu, 02 Aug 2012 17:52:13 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">69241@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For anyone looking for help with a similar issue:&#60;br /&#62;
I changed it to use the PHP embed code instead of the do shortcode.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Embedding_A_Form&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Embedding_A_Form&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I also moved all of Gravity Forms' JavaScript calls to the header because they were in the footer. Lastly there was two calls to JQuery, so I removed wp_footer temporarily to fix the issue. The theme author should be contacted and asked to put the JQuery call only in the header and only if it needs it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Schrock on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69236</link>
			<pubDate>Thu, 02 Aug 2012 17:21:16 +0000</pubDate>
			<dc:creator>Schrock</dc:creator>
			<guid isPermaLink="false">69236@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;sure.  I also tried changing the theme to twentyten and then embedding the shortcode...it didn't work there either so my guess is that it's not a theme issue although i could be wrong.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69234</link>
			<pubDate>Thu, 02 Aug 2012 17:16:20 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">69234@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, would you be willing and able to send me admin login details to &#60;a href=&#34;mailto:peralty@rocketgenius.com&#34;&#62;peralty@rocketgenius.com&#60;/a&#62; and I'll log in and see what I can do?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Schrock on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69233</link>
			<pubDate>Thu, 02 Aug 2012 17:15:16 +0000</pubDate>
			<dc:creator>Schrock</dc:creator>
			<guid isPermaLink="false">69233@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I can preview my form, it will work on a wordpress page if I remove the internal page specific do_shortcode from the header.  You can see the form working on a page &#60;a href=&#34;http://lincolnbankruptcyattorney.net/?page_id=52&#34; rel=&#34;nofollow&#34;&#62;HERE&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'm using current versions of wordpress (3.4.1) and Gravity forms (not sure the version but I updated a couple of days ago via the wordpress dashboard)&#60;/p&#62;
&#60;p&#62;I did try removing ajax=true, no change...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69229</link>
			<pubDate>Thu, 02 Aug 2012 17:03:53 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">69229@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, so can you preview your form? You mentioned it was working on a WordPress page? Is this correct? Are you using conditional logic in your form? Can you remove your ajax=true call from your shortcode for testing? Are you using the latest WP and GF versions?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Schrock on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69228</link>
			<pubDate>Thu, 02 Aug 2012 16:57:18 +0000</pubDate>
			<dc:creator>Schrock</dc:creator>
			<guid isPermaLink="false">69228@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The site's primary purpose is to generate leads by offering a free customized (based on their input) bankruptcy evaluation.  The home page is static with the form above fold and ready for input.  There is, or will be a fair amount of information on the site as well.  For each of the internal pages, I have it set up so that the form is &#34;hidden&#34; and then appears only when a user clicks on the the button in the right sidebar.&#60;/p&#62;
&#60;p&#62;You can see my entire header.php file &#60;a href=&#34;http://pastebin.com/E1Mg7YNP&#34; rel=&#34;nofollow&#34;&#62;HERE&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Would I be better off placing the shortcode in the page.php file?  I was under the impression that shortcodes would work anywhere on a php page between the body tags.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69225</link>
			<pubDate>Thu, 02 Aug 2012 16:46:59 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">69225@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Wait, why is your shortcode in your header file? Can you start from scratch explaining what you are trying to do so that I can better understand the result you are looking for?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Schrock on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69220</link>
			<pubDate>Thu, 02 Aug 2012 16:10:50 +0000</pubDate>
			<dc:creator>Schrock</dc:creator>
			<guid isPermaLink="false">69220@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Not sure if this matter or helps but I'll share it in hopes that it will.  While building the form, I created a page titled &#34;Testing&#34; and embedded the shortcode into the page. everything worked fine and still does IF (big if) i remove the do_shortcode call in the header.&#60;/p&#62;
&#60;p&#62;Again, not sure if that's helpful...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Schrock on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69216</link>
			<pubDate>Thu, 02 Aug 2012 15:45:52 +0000</pubDate>
			<dc:creator>Schrock</dc:creator>
			<guid isPermaLink="false">69216@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just updated jquery to 1.7.2.  Thanks for looking into this!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Trouble embedding form into template file"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-embedding-form-into-template-file#post-69212</link>
			<pubDate>Thu, 02 Aug 2012 15:37:12 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">69212@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Your theme is using JQuery 1.3.2 and WordPress ships with 1.7.2 by default. Gravity Forms requires 1.6 or above to render form elements. Once that is resolved, I can take a look again to see if there are any other issues.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
