<?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 Field Data + Array in Custom Post Meta</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-field-data-array-in-custom-post-meta</link>
		<description>Gravity Support Forums Topic: Custom Field Data + Array in Custom Post Meta</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:24:55 +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-field-data-array-in-custom-post-meta" rel="self" type="application/rss+xml" />

		<item>
			<title>Richard Vav on "Custom Field Data + Array in Custom Post Meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-data-array-in-custom-post-meta#post-376085</link>
			<pubDate>Fri, 26 Jul 2013 05:06:22 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">376085@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you still require assistance with this please open a new &#60;a href=&#34;http://www.gravityhelp.com/request-support/&#34; rel=&#34;nofollow&#34;&#62;support ticket&#60;/a&#62; or a &#60;a href=&#34;http://www.gravityhelp.com/priority-support/&#34; rel=&#34;nofollow&#34;&#62;priority support ticket&#60;/a&#62; if you are a developer license holder. Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>edmission on "Custom Field Data + Array in Custom Post Meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-data-array-in-custom-post-meta#post-358787</link>
			<pubDate>Tue, 02 Jul 2013 23:21:12 +0000</pubDate>
			<dc:creator>edmission</dc:creator>
			<guid isPermaLink="false">358787@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've got exactly the same issue, I need to end up with a date array with keys for day, month, year to match the date custom field in my theme
&#60;/p&#62;</description>
		</item>
		<item>
			<title>iHuman on "Custom Field Data + Array in Custom Post Meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-data-array-in-custom-post-meta#post-350196</link>
			<pubDate>Fri, 28 Jun 2013 13:45:28 +0000</pubDate>
			<dc:creator>iHuman</dc:creator>
			<guid isPermaLink="false">350196@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm working on something similar. Were you able to resolve the issue of submitting CPT meta data in the form of an array?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tripod0502 on "Custom Field Data + Array in Custom Post Meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-data-array-in-custom-post-meta#post-242827</link>
			<pubDate>Wed, 08 May 2013 12:03:40 +0000</pubDate>
			<dc:creator>tripod0502</dc:creator>
			<guid isPermaLink="false">242827@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've written an action hook in my functions.php file...can anyone tell me if I'm heading in the right direction?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function theme_integration($post, $form) {

$post = get_post($entry[&#38;quot;post_id&#38;quot;]);

$def_lat = $def_long = 0;

if ( isset( $_POST[&#38;#39;location&#38;#39;] ) ) {
list( $def_lat, $def_long ) = explode( &#38;#39;,&#38;#39;, $_POST[&#38;#39;location&#38;#39;] );
}

	$ait_dir_item = array(
		&#38;#39;address&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;gpsLatitude&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;gpsLongitude&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;streetViewLatitude&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;streetViewLongitude&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;streetViewHeading&#38;#39; =&#38;gt; &#38;#39;0&#38;#39;,
		&#38;#39;streetViewPitch&#38;#39; =&#38;gt; &#38;#39;0&#38;#39;,
		&#38;#39;streetViewZoom&#38;#39; =&#38;gt; &#38;#39;0&#38;#39;,
		&#38;#39;telephone&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;email&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;web&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;hoursMonday&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;hoursTuesday&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;hoursWednesday&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;hoursThursday&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;hoursFriday&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;hoursSaturday&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;hoursSunday&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;],
		&#38;#39;alternativeContent&#38;#39; =&#38;gt; $entry[&#38;#39;dummy_ID&#38;#39;]
);

update_post_meta( $post_id, &#38;#39;_ait-dir-item&#38;#39;, $ait_dir_item );
}

add_action(&#38;quot;gform_after_submission_1&#38;quot;, &#38;quot;theme_integration&#38;quot;, 10, 2);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>tripod0502 on "Custom Field Data + Array in Custom Post Meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-data-array-in-custom-post-meta#post-241530</link>
			<pubDate>Tue, 07 May 2013 15:22:05 +0000</pubDate>
			<dc:creator>tripod0502</dc:creator>
			<guid isPermaLink="false">241530@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Guys! I am running GF and the Custom Post Plugin and I've run into a bit of a problem...&#60;/p&#62;
&#60;p&#62;The template I am using implements a custom post type as a &#34;directory&#34;&#60;/p&#62;
&#60;p&#62;I've created a form that will save the submission title, body and featured image into this custom post. But, I also have several custom fields (besides custom post related- Title, Body, etc.) who's data I would like to bundle into an array and inserted into the custom post's meta.&#60;/p&#62;
&#60;p&#62;Any pointers?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
