<?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: User Selects Post Format</title>
		<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format</link>
		<description>Gravity Support Forums Topic: User Selects Post Format</description>
		<language>en-US</language>
		<pubDate>Fri, 24 Apr 2026 06:56:48 +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/user-selects-post-format" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-75553</link>
			<pubDate>Sat, 15 Sep 2012 16:10:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75553@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Great.  Thanks very much for the update.  I'm glad you figured it out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Staats on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-75551</link>
			<pubDate>Sat, 15 Sep 2012 16:06:01 +0000</pubDate>
			<dc:creator>Staats</dc:creator>
			<guid isPermaLink="false">75551@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;yes it is...thanks for the push in the right direction!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-75224</link>
			<pubDate>Thu, 13 Sep 2012 21:56:50 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75224@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is this working for you now?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Staats on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-75167</link>
			<pubDate>Thu, 13 Sep 2012 15:10:49 +0000</pubDate>
			<dc:creator>Staats</dc:creator>
			<guid isPermaLink="false">75167@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Chris, &#60;/p&#62;
&#60;p&#62;I was missing the variables necessary to pass into new_post_format($entry,$form).  This link works:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/4715557&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4715557&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Staats on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-73899</link>
			<pubDate>Tue, 04 Sep 2012 22:23:54 +0000</pubDate>
			<dc:creator>Staats</dc:creator>
			<guid isPermaLink="false">73899@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Sorry for the delayed response, and thanks for reaching back out. I will take some time to review my code and explain what I &#34;thought&#34; I was attempting.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-73387</link>
			<pubDate>Thu, 30 Aug 2012 22:29:59 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">73387@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That doesn't look right at all.  Can you explain what each line of your code is supposed to do?  I think we have a fundamental misunderstanding here and we need to get on the same page.  Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Staats on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-73358</link>
			<pubDate>Thu, 30 Aug 2012 19:25:07 +0000</pubDate>
			<dc:creator>Staats</dc:creator>
			<guid isPermaLink="false">73358@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;so I gave it a shot, but seem to be missing something.  I must be leaving something out:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/4619327&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4619327&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-72649</link>
			<pubDate>Sun, 26 Aug 2012 14:11:14 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72649@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Let us know how that works out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Staats on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-72647</link>
			<pubDate>Sun, 26 Aug 2012 13:41:44 +0000</pubDate>
			<dc:creator>Staats</dc:creator>
			<guid isPermaLink="false">72647@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;yeah that does help. I'll give it a shot this week, thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "User Selects Post Format"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-selects-post-format#post-72628</link>
			<pubDate>Sun, 26 Aug 2012 02:23:13 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72628@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't think it's possible to do that in the form builder automatically. However, you could have a group of radio buttons with your post formats as options, then use the gform_after_submission hook to go back and update the post format using the WordPress function &#60;strong&#62;set_post_format&#60;/strong&#62;. &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/set_post_format&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/set_post_format&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You can follow this example:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But instead of wp_update_post, you could use set_post_format, and set the format to the one the user selected from your radio buttons.&#60;/p&#62;
&#60;p&#62;The list of radio buttons would not be generated dynamically.  I'm not sure how often the post formats you're using change, but that could be a potential problem, keeping your form and your installation in sync.&#60;/p&#62;
&#60;p&#62;If by this: &#34;allow me to show fields based on their selection&#34;, you mean &#34;if the user wants to create a post of the Photo format, then show fields to allow them to upload an image, submit a caption submit the location, etc&#34; and &#34;if the user wants to create a post of the Recipe format, then allow them to use the list field to add ingredients one by one, submit the directions, and allow up to 10 photos&#34; ... the answer is yes. Just use conditional logic to allow the fields that pertain only to that post format.&#60;/p&#62;
&#60;p&#62;Does that help?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
