<?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: Hidden category and visible category</title>
		<link>https://legacy.forums.gravityhelp.com/topic/hidden-category-and-visible-category</link>
		<description>Gravity Support Forums Topic: Hidden category and visible category</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:36:29 +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/hidden-category-and-visible-category" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Hidden category and visible category"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hidden-category-and-visible-category#post-191918</link>
			<pubDate>Sun, 31 Mar 2013 17:50:33 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">191918@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wpalchemist on "Hidden category and visible category"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hidden-category-and-visible-category#post-187052</link>
			<pubDate>Wed, 27 Mar 2013 19:55:05 +0000</pubDate>
			<dc:creator>wpalchemist</dc:creator>
			<guid isPermaLink="false">187052@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I fixed it.  I needed to use wp_set_post_terms instead.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wpalchemist on "Hidden category and visible category"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hidden-category-and-visible-category#post-187010</link>
			<pubDate>Wed, 27 Mar 2013 19:02:22 +0000</pubDate>
			<dc:creator>wpalchemist</dc:creator>
			<guid isPermaLink="false">187010@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When I do this, it erases all of the form data except for the category.  Here's my code:&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/7143646&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/7143646&#60;/a&#62;&#60;br /&#62;
Any idea what I'm doing wrong?&#60;/p&#62;
&#60;p&#62;Thanks for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Hidden category and visible category"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hidden-category-and-visible-category#post-179820</link>
			<pubDate>Thu, 21 Mar 2013 15:41:52 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">179820@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can use the gform_after_submission hook &#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; to update the post immediately after it's created.  Your function would call the WordPress function wp_update_post &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/wp_update_post#Categories&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/wp_update_post#Categories&#60;/a&#62; and you would pass in an array of category IDs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wpalchemist on "Hidden category and visible category"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hidden-category-and-visible-category#post-177204</link>
			<pubDate>Tue, 19 Mar 2013 18:36:12 +0000</pubDate>
			<dc:creator>wpalchemist</dc:creator>
			<guid isPermaLink="false">177204@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you provide a code example for you I would append categories?  (Actually, it's a custom taxonomy.)  The code examples make it clear how to change fields, but appending a category is more complicated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Hidden category and visible category"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hidden-category-and-visible-category#post-177125</link>
			<pubDate>Tue, 19 Mar 2013 16:49:44 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">177125@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You would have to write some PHP to grab the currently selected categories, and edit the post category to append your own using the following hook: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_data&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_data&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wpalchemist on "Hidden category and visible category"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hidden-category-and-visible-category#post-177113</link>
			<pubDate>Tue, 19 Mar 2013 16:38:52 +0000</pubDate>
			<dc:creator>wpalchemist</dc:creator>
			<guid isPermaLink="false">177113@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form that lets visitors create a post. I want them to be able to choose what categories the post is in, but each post also needs to go into two additional categories.  So have a Post Category field where people can check boxes for the category they want.  I also have an admin-only field that should add the post to the two non-optional categories, but that field doesn't seem to be working - the post doesn't get saved in that category.  I assume this is because I can't have two post category fields.  So is there any way I can let users choose from a bunch of categories, but also force the post to have a few other categories?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
