<?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: Custom taxonomies for post forms</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms</link>
		<description>Gravity Support Forums Topic: Custom taxonomies for post forms</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 18:31:12 +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/custom-taxonomies-for-post-forms" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-45968</link>
			<pubDate>Tue, 10 Jan 2012 13:02:38 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">45968@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Matosd, have you seen this 3rd party plugin at  the WordPress repository?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It was not created by us, but might help you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Matosd on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-45906</link>
			<pubDate>Mon, 09 Jan 2012 17:15:51 +0000</pubDate>
			<dc:creator>Matosd</dc:creator>
			<guid isPermaLink="false">45906@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am also extremely interest about that!!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ben on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-12179</link>
			<pubDate>Fri, 05 Nov 2010 20:18:11 +0000</pubDate>
			<dc:creator>ben</dc:creator>
			<guid isPermaLink="false">12179@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am looking to implement forms solution with geo-Mashup plugin but would like to avoid coding a solution as Boris did. &#60;/p&#62;
&#60;p&#62;Is there a GUI based solution to geo-mashup integration that requires no coding now?&#60;/p&#62;
&#60;p&#62;Cheers&#60;br /&#62;
Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-5298</link>
			<pubDate>Thu, 06 May 2010 23:20:56 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">5298@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No, we don't have built in support for custom taxonomies via the UI. However, we do have hooks that can be used to accomplish that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sproutventure on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-5295</link>
			<pubDate>Thu, 06 May 2010 22:34:07 +0000</pubDate>
			<dc:creator>sproutventure</dc:creator>
			<guid isPermaLink="false">5295@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Am I missing options for custom taxonomies within the latest version?&#60;/p&#62;
&#60;p&#62;Is there a development version that has the ability?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>traveljunkie on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-2467</link>
			<pubDate>Mon, 04 Jan 2010 17:16:37 +0000</pubDate>
			<dc:creator>traveljunkie</dc:creator>
			<guid isPermaLink="false">2467@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Now that would be perfect :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-2465</link>
			<pubDate>Mon, 04 Jan 2010 16:42:20 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2465@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, but we may be able to set it up so that you can set a limit on how many tags and then validation can check to see how many tags were submitted and throw a validation error if they submit more than the limit was set to.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>traveljunkie on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-2464</link>
			<pubDate>Mon, 04 Jan 2010 16:13:03 +0000</pubDate>
			<dc:creator>traveljunkie</dc:creator>
			<guid isPermaLink="false">2464@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've actually been thinking about it and I'll probably leave my solution in once you add support for custom taxonomies. I only want my users to add one tag. I guess native support would allow multiple tags...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-2440</link>
			<pubDate>Sat, 02 Jan 2010 17:13:24 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2440@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Nice! We do plan on adding native support for custom taxonomies as an option on the Post Tag field.  It's good to see you putting the available hooks to accomplish things.  Good stuff.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>traveljunkie on "Custom taxonomies for post forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-taxonomies-for-post-forms#post-2438</link>
			<pubDate>Sat, 02 Jan 2010 12:24:15 +0000</pubDate>
			<dc:creator>traveljunkie</dc:creator>
			<guid isPermaLink="false">2438@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Well, for anybody looking to implement cutom taxonomies, you can do it by using the gform_post_submission hook and custom fields. Something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function tj_add_xtra_data( $form )
{
	if( $form[&#38;#39;source_url&#38;#39;] == get_permalink( 824 ) )
	{
		require_once( WP_CONTENT_DIR . &#38;#39;/plugins/geo-mashup/geo-mashup-db.php&#38;#39; );

		$id = $form[&#38;#39;post_id&#38;#39;];
		$lat = $form[&#38;#39;8&#38;#39;];
		$lng = $form[&#38;#39;14&#38;#39;];

		$post_location[&#38;#39;lat&#38;#39;] = trim( $lat );
		$post_location[&#38;#39;lng&#38;#39;] = trim( $lng );

		// save the location
		GeoMashupDB::set_post_location( $id, $post_location );

		// set the custom taxonomies
		wp_set_object_terms( $id, $form[&#38;#39;10&#38;#39;], &#38;#39;countries&#38;#39; );
		wp_set_object_terms( $id, $form[&#38;#39;11&#38;#39;], &#38;#39;continents&#38;#39; );
		wp_set_object_terms( $id, $form[&#38;#39;12&#38;#39;], &#38;#39;cities&#38;#39; );

		// delete all unneeded post meta
		delete_post_meta( $id, &#38;#39;tj_longitude&#38;#39; );
		delete_post_meta( $id, &#38;#39;tj_latitude&#38;#39; );
		delete_post_meta( $id, &#38;#39;tj_continent&#38;#39; );
		delete_post_meta( $id, &#38;#39;tj_country&#38;#39; );
		delete_post_meta( $id, &#38;#39;tj_city&#38;#39; );
	}
}
add_action( &#38;#39;gform_post_submission&#38;#39;, &#38;#39;tj_add_xtra_data&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;What I did here was also integrate GF with the GeoMashup plugin. At the beginning I check for the correct form and in the end I delete all the post meta we don't need any more. All you'd have to do is change the field numbers/permalink id around to fit your needs.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
