Hi,
I'm using the following plugins:
Get Custom Field Values
Comprehensive Google Map Plugin
Both generate shortcodes - one to display a Google map and the other to extract and display the value of a custom field.
I have a custom field on the page which is a postcode, accessible with this shortcode:
[custom_field field="postcode" this_post="1" limit="0" between=", " /]
I have a map generated with this shortcode:
[google-map-v3 width="250" height="250" zoom="12" maptype="ROADMAP" mapalign="center" latitude="0" longitude="0" addresscontent="wc1e9hj" showmarker="true" animation="DROP" maptypecontrol="true" pancontrol="true" zoomcontrol="true" scalecontrol="true" streetviewcontrol="true" bubbleautopan="false" markerdirections="true" showbike="false" showtraffic="false" showpanoramio="false"]
So I guess you can probably figure out what I want to do by now!... I want the map to be generated using the value of the Postcode custom field.
This however doesn't work:
[google-map-v3 width="250" height="250" zoom="12" maptype="ROADMAP" mapalign="center" latitude="0" longitude="0" addresscontent="[custom_field field="postcode" this_post="1" limit="0" between=", " /]" showmarker="true" animation="DROP" maptypecontrol="true" pancontrol="true" zoomcontrol="true" scalecontrol="true" streetviewcontrol="true" bubbleautopan="false" markerdirections="true" showbike="false" showtraffic="false" showpanoramio="false"]
Any other suggestions?
Thanks,
Dave