<?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: Using Merge Tags Within Page Templates</title>
		<link>https://legacy.forums.gravityhelp.com/topic/using-merge-tags-within-page-templates</link>
		<description>Gravity Support Forums Topic: Using Merge Tags Within Page Templates</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:14:49 +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/using-merge-tags-within-page-templates" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Using Merge Tags Within Page Templates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-merge-tags-within-page-templates#post-78418</link>
			<pubDate>Mon, 01 Oct 2012 22:09:08 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">78418@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Example form, but sending the query string to Google, not my own page template for search results: &#60;a href=&#34;http://gravity.chrishajer.com/google-search/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/google-search/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You can submit the form and see where you data goes.  Nothing bad will happen. :-)&#60;/p&#62;
&#60;p&#62;Screenshot of my confirmation redirect settings:&#60;br /&#62;
&#60;a href=&#34;http://minus.com/lFlpbHWbVDKcX&#34; rel=&#34;nofollow&#34;&#62;http://minus.com/lFlpbHWbVDKcX&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Using Merge Tags Within Page Templates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-merge-tags-within-page-templates#post-78417</link>
			<pubDate>Mon, 01 Oct 2012 22:03:28 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">78417@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;From your Gravity Form, you can pass the values in the query string, similar to how Google would do it when you search for something.&#60;/p&#62;
&#60;p&#62;You can do the same thing with your Gravity Form on the confirmation page.  Just select &#34;redirect&#34; radio button on the confirmation tab of your form, enter the URL to the page where your WP_Query is going to run, check the box &#34;Pass Field Data Via Query String&#34; and then in the box below, enter your parameters (fixed strings) and your entry values (merge tags.)  &#60;/p&#62;
&#60;p&#62;Then, in your page template, you read the query string being sent from your form, and your page template does the magic to craft a WP_Query and display the results.  You can use this in your template to debugging the query string values being sent:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
echo &#38;quot;&#38;lt;pre&#38;gt;&#38;quot;; print_r($wp_query-&#38;gt;query_vars); echo &#38;quot;&#38;lt;/pre&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Let me know if you need more help after giving that a try.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>imeson on "Using Merge Tags Within Page Templates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-merge-tags-within-page-templates#post-78347</link>
			<pubDate>Mon, 01 Oct 2012 14:01:44 +0000</pubDate>
			<dc:creator>imeson</dc:creator>
			<guid isPermaLink="false">78347@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This sounds exactly like what I'm trying to figure out how to do. &#60;/p&#62;
&#60;p&#62;&#34;If you configure a search page that accepts query string parameters for the data that it returns then you can use a Gravity Form to build a search form that redirects to this page and passes the field values so the page can then display the results based on those values.&#34;&#60;/p&#62;
&#60;p&#62;How do I pass the field values?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Using Merge Tags Within Page Templates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-merge-tags-within-page-templates#post-78305</link>
			<pubDate>Mon, 01 Oct 2012 11:23:25 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">78305@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Blake, take a look at these related posts for how to use date from Gravity Forms to populate a search results page.  It's been asked before.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/tags/search&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/tags/search&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>imeson on "Using Merge Tags Within Page Templates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-merge-tags-within-page-templates#post-78282</link>
			<pubDate>Mon, 01 Oct 2012 09:39:24 +0000</pubDate>
			<dc:creator>imeson</dc:creator>
			<guid isPermaLink="false">78282@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Chris,&#60;/p&#62;
&#60;p&#62;I would like to create a type of search form that upon submission redirects to a page assigned to a &#34;Search Results&#34; Page Template.  &#60;/p&#62;
&#60;p&#62;Within the page template I would like to have a custom WP-Query that is populated by the value of a selected form field within the form.  &#60;/p&#62;
&#60;p&#62;So here is the idea of what I'm trying to do with the merge tag:&#60;br /&#62;
&#60;code&#62;$query = new WP_Query( &#38;#39;meta_value={selectedresponse:1:value}&#38;#39; );&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Any help would be awesome!  Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Using Merge Tags Within Page Templates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-merge-tags-within-page-templates#post-78198</link>
			<pubDate>Sun, 30 Sep 2012 20:11:48 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">78198@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Blake, I'm not following what you want to do at all.  Would this be before or after a form is submitted?  If after, give an example of what information is submitted and how you want to use it.  If you give us some specific information, we can give you some specific advice. My inclination is that what you want to do is possible, but I'm not sure yet what it is you want to do.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>imeson on "Using Merge Tags Within Page Templates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-merge-tags-within-page-templates#post-78087</link>
			<pubDate>Sat, 29 Sep 2012 08:39:52 +0000</pubDate>
			<dc:creator>imeson</dc:creator>
			<guid isPermaLink="false">78087@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there any way to get a $_GET variable from a form field and integrate it into a WordPress page template?&#60;/p&#62;
&#60;p&#62;What I am wanting to do is&#60;br /&#62;
1. create a dynamic page template with&#60;br /&#62;
2. assign a page to that template&#60;br /&#62;
3. create a new Form that redirects to this new page on submission&#60;br /&#62;
4. have the form pass values (possibly via the merge tags?) to the PHP page template (specifically to modify some of the parameters of the loop)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
