<?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_post_type with a custom field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom_post_type-with-a-custom-field</link>
		<description>Gravity Support Forums Topic: custom_post_type with a custom field</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 11:48:40 +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_post_type-with-a-custom-field" rel="self" type="application/rss+xml" />

		<item>
			<title>coryshaw on "custom_post_type with a custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom_post_type-with-a-custom-field#post-23985</link>
			<pubDate>Fri, 22 Apr 2011 17:28:10 +0000</pubDate>
			<dc:creator>coryshaw</dc:creator>
			<guid isPermaLink="false">23985@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was scratching my head until I found this post. Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "custom_post_type with a custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom_post_type-with-a-custom-field#post-17742</link>
			<pubDate>Sat, 05 Feb 2011 16:30:00 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">17742@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@rzn8media Post meta with a key that begins with an underscore (ex. _keyname) are considered hidden.  You use the underscore in front of the key name when you don't want it to appear in lists that display post meta key names.  This is by design and is built in WordPress functionality.  Underscores should only be used for hidden post meta values.  If you want it visible in the drop downs that list existing keys you should not use an underscore.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rzn8media on "custom_post_type with a custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom_post_type-with-a-custom-field#post-17740</link>
			<pubDate>Sat, 05 Feb 2011 16:21:45 +0000</pubDate>
			<dc:creator>rzn8media</dc:creator>
			<guid isPermaLink="false">17740@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Somehow I missed this post update. I managed to go figure out what's going on.. I had to click &#34;New Field&#34; even though it's not &#34;new&#34;. I think custom post fields with an _varname (note usage of underscore) prevents meta_fields from showing up in the meta_filed list in the dropdown in the form field editor. FYI
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "custom_post_type with a custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom_post_type-with-a-custom-field#post-17048</link>
			<pubDate>Wed, 26 Jan 2011 18:07:31 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">17048@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sure, go ahead and send the login to &#60;a href=&#34;mailto:david@rocketgenius.com&#34;&#62;david@rocketgenius.com&#60;/a&#62;. Just a heads up, I will probably not be able to take a look until tomorrow morning.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rzn8media on "custom_post_type with a custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom_post_type-with-a-custom-field#post-17047</link>
			<pubDate>Wed, 26 Jan 2011 18:05:50 +0000</pubDate>
			<dc:creator>rzn8media</dc:creator>
			<guid isPermaLink="false">17047@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I had tried both earlier. The field exists - I manually added a review and filled in the ts_rName field. Then filled out the form from the front-end and the new &#34;review was posted but the ts_rName field was blank.&#60;/p&#62;
&#60;p&#62;I had seen earlier that this field didn't already exist so I chose &#34;new&#34; thinking it was worth a shot. this had no effect I think it created it as a custom filed for a regular post but not for a &#34;custom_post_type&#34; I can provide ftp and admin access if you want to have a closer look.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "custom_post_type with a custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom_post_type-with-a-custom-field#post-17045</link>
			<pubDate>Wed, 26 Jan 2011 17:49:34 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">17045@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Two things to try/check:&#60;/p&#62;
&#60;p&#62;1) Does any post have a value stored for this custom field? If not, it technically doesn't exist and won't be populated in the dropdown for the Gravity custom field type.&#60;/p&#62;
&#60;p&#62;2) If another post is using this custom field and it does have a value stored, try just manually typing the custom field name on the Gravity custom field type and see if it works anyways.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rzn8media on "custom_post_type with a custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom_post_type-with-a-custom-field#post-17014</link>
			<pubDate>Tue, 25 Jan 2011 19:13:20 +0000</pubDate>
			<dc:creator>rzn8media</dc:creator>
			<guid isPermaLink="false">17014@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've got a gForm that is submitting a post to a custom_post_type called &#34;reviews&#34;. The &#34;reviews&#34; custom_post_type has a custom field in it called &#34;ts_Name&#34;. When I add a custom field to the gForm as a single-line-text and try to assign it to a custom field from the drop-down my &#34;ts_Name&#34; isn't available - which makes sense because the gForms 1.4.5 isn't custom_post_type aware. &#60;/p&#62;
&#60;p&#62;Since we are intercepting the submission and changing the &#34;post_type&#34; anyway I assume the custom field re-assignment has to be done in a hook as well. I tried &#34;add_post_meta&#34; but that doesn't work because it seems the post_id is changed when the post is reassigned a new type. &#60;/p&#62;
&#60;p&#62;I just need to assign a gField to a custom-field in a custom post type. HELP?!?!?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
