<?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: Insert custom taxonomy value</title>
		<link>https://legacy.forums.gravityhelp.com/topic/insert-custom-taxonomy-value</link>
		<description>Gravity Support Forums Topic: Insert custom taxonomy value</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 13:26:08 +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/insert-custom-taxonomy-value" rel="self" type="application/rss+xml" />

		<item>
			<title>kbiglione on "Insert custom taxonomy value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-custom-taxonomy-value#post-9165</link>
			<pubDate>Mon, 30 Aug 2010 18:40:22 +0000</pubDate>
			<dc:creator>kbiglione</dc:creator>
			<guid isPermaLink="false">9165@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Bump.&#60;/p&#62;
&#60;p&#62;In another thread Carl mentions that Custom Post Types and Custom Taxonomy are possible w/hooks. Any pointers to examples or documentation would be a big help.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forum.gravityhelp.com/topic/wp-30-custom-post-types-custom-post-type-taxonomies&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/wp-30-custom-post-types-custom-post-type-taxonomies&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kbiglione on "Insert custom taxonomy value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-custom-taxonomy-value#post-8400</link>
			<pubDate>Tue, 10 Aug 2010 20:26:56 +0000</pubDate>
			<dc:creator>kbiglione</dc:creator>
			<guid isPermaLink="false">8400@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've created a form for submitting content to a custom post type. The function below uses the gform_post_data hook to insert the submission and everything works great. &#60;/p&#62;
&#60;p&#62;My problem: I'd like the user to also specify a custom taxonomy term. It's a hierarchical taxonomy structure, like categories.&#60;/p&#62;
&#60;p&#62;I've hacked the Gravity Forms core (yes, I realize this is a bad idea) to display the appropriate category names in the category select list.  Unfortunately, those values aren't being recorded.&#60;/p&#62;
&#60;p&#62;What am I missing? Is there another line I need to add to specify the custom taxonomy name? &#60;/p&#62;
&#60;p&#62;function omw_update_post_type($post_data, $form){&#60;br /&#62;
    if($form[&#34;id&#34;] == '1'){&#60;br /&#62;
        $post_data[&#34;post_type&#34;] = &#34;rfp&#34;;&#60;br /&#62;
    }&#60;br /&#62;
    return $post_data;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;add_filter(&#34;gform_post_data&#34;, &#34;omw_update_post_type&#34;, 10, 2);
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
