<?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: Google map on preview and single.php</title>
		<link>https://legacy.forums.gravityhelp.com/topic/google-map-on-preview-and-singlephp</link>
		<description>Gravity Support Forums Topic: Google map on preview and single.php</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:45:10 +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/google-map-on-preview-and-singlephp" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Google map on preview and single.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-map-on-preview-and-singlephp#post-192182</link>
			<pubDate>Sun, 31 Mar 2013 22:57:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">192182@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please reread this topic and let me know which part is unclear.  Give it a shot and see if it makes sense.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/google-map-on-preview-and-singlephp#post-71643&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/google-map-on-preview-and-singlephp#post-71643&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I do not have a post body input, but there is a post body field in the form.  The visibility is set to admin only.  All the work is done in the content template for that post body, and using the merge tags.  The content template I used for the post body is shown above.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jvanb on "Google map on preview and single.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-map-on-preview-and-singlephp#post-191666</link>
			<pubDate>Sun, 31 Mar 2013 11:19:23 +0000</pubDate>
			<dc:creator>jvanb</dc:creator>
			<guid isPermaLink="false">191666@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm trying to do the same. However, The instructions seem unclear and I'm having trouble. Where do I place the code?&#60;/p&#62;
&#60;p&#62;I want the user to submit the address of their studio so the form can generate a post of the studio's location with google maps.&#60;/p&#62;
&#60;p&#62;@Chris Hajer - How were you able to pull off the form with a map generating it. I see that you have no Post Body in your form, just the address and email form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sheri House on "Google map on preview and single.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-map-on-preview-and-singlephp#post-188179</link>
			<pubDate>Thu, 28 Mar 2013 16:23:23 +0000</pubDate>
			<dc:creator>Sheri House</dc:creator>
			<guid isPermaLink="false">188179@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to use this google map shortcode with a directory listing.   address is included in the form.&#60;/p&#62;
&#60;p&#62;Where would I place the shortcode for google map. - if I have members adding there listing?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Google map on preview and single.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-map-on-preview-and-singlephp#post-71643</link>
			<pubDate>Sun, 19 Aug 2012 23:02:26 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">71643@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In the email to the visitor is a &#60;strong&#62;link&#60;/strong&#62; to the Google Map, correct?  Or do you have an example of a map actually embedded in the notification email?&#60;/p&#62;
&#60;p&#62;After thinking about it, I think the best approach is to use one of the existing Google Map plugins, and get the address information out of your entry and into the function call or shortcode for the Google Map plugin. Then you can configure the defaults for the Google Map plugin, and pull the address information from the entry.&#60;/p&#62;
&#60;p&#62;Looking more closely at it, it looks like all your real estate posts are created by a form?  So, we should probably insert the address information into the content template, inside the Google Map shortcode, when the entry is accepted and before the post is created.  That way, you don't need to modify your template at all, and it's all automatic.&#60;/p&#62;
&#60;p&#62;You can pick whichever Google Map plugin you like.  The process will be basically the same.  I used this one: &#60;a href=&#34;http://wordpress.org/extend/plugins/google-map-shortcode/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/google-map-shortcode/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;With that plugin active, you can use this shortcode in your post: [google-map-sc]&#60;/p&#62;
&#60;p&#62;We need to add some details to that shortcode.  I did this in the content template for my post body.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;This map was submitted by {Name (First):3.3} {Name (Last):3.6} on {date_mdy}.

[google-map-sc type=&#38;quot;HYBRID&#38;quot; width=&#38;quot;584&#38;quot; zoom=&#38;quot;18&#38;quot; address=&#38;quot;{Address (Street Address):2.1} {Address (Address Line 2):2.2} {Address (City):2.3} {Address (State / Province):2.4} {Address (Zip / Postal Code):2.5} {Address (Country):2.6}&#38;quot;]&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That content template ended up creating a post with this content for a form submission I just made:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;This map was submitted by Hajii Gomeshi on 08/19/2012.

[google-map-sc type=&#38;quot;HYBRID&#38;quot; width=&#38;quot;584&#38;quot; zoom=&#38;quot;18&#38;quot; address=&#38;quot;1301 S. Harlem Ave  Berwyn Illinois 60402 United States&#38;quot;]&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;View the post: &#60;a href=&#34;http://gravity.chrishajer.com/?p=844&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/?p=844&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;There are a lot more parameters you can use for that shortcode.  Documentation is here: &#60;a href=&#34;http://web-argument.com/2011/08/11/google-map-shortcode-reference/&#34; rel=&#34;nofollow&#34;&#62;http://web-argument.com/2011/08/11/google-map-shortcode-reference/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The merge tags are dependent on your form.  Those were the merge tags from my form. You can see my form online here: &#60;a href=&#34;http://gravity.chrishajer.com/embed-a-google-map/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/embed-a-google-map/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you submit that form, you will have a link to the post it creates in your on-screen confirmation. Click that and you will see the map embedded based on the address you entered.&#60;/p&#62;
&#60;p&#62;Let me know if you have any questions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Google map on preview and single.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-map-on-preview-and-singlephp#post-70590</link>
			<pubDate>Fri, 10 Aug 2012 13:08:22 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">70590@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have an idea for this one.  I will post something by Monday at the latest.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>scott@adszoom.com on "Google map on preview and single.php"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-map-on-preview-and-singlephp#post-70427</link>
			<pubDate>Thu, 09 Aug 2012 19:57:33 +0000</pubDate>
			<dc:creator>scott@adszoom.com</dc:creator>
			<guid isPermaLink="false">70427@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi &#60;/p&#62;
&#60;p&#62;Looking to ad a google map field some how. I really don’t know whether to ad the map via the form ? Is there a GF plug in / ad on ? &#60;/p&#62;
&#60;p&#62;The goal is to have a map link on the single.php page when the post is displayed example:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.adszoom.com/61972/real-estate-classifieds/real-estate-for-sale-classifieds/double-wide-manufactured-home-fsboflpinellas-county-33759-united-states/&#34; rel=&#34;nofollow&#34;&#62;http://www.adszoom.com/61972/real-estate-classifieds/real-estate-for-sale-classifieds/double-wide-manufactured-home-fsboflpinellas-county-33759-united-states/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;on that page say below the  category below the photo. I looked threw the merge tags drop down choices but did not see it. But it is there in the email that is sent to the poster after the post.... So how do I get that link into the post body??
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
