How to add maps using custom fields and get_meta_data () Home › Forums › MapPress Support › How to add maps using custom fields and get_meta_data () This topic contains 2 replies, has 2 voices, and was last updated by Chris 10 months, 3 weeks ago. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts June 29, 2012 at 3:58 am #9762 additiveMember Hi, I hoping that someone will be able to help me with this… I’m trying to code a single post template file so that it dynamically displays the map associated with the post created in wp editor. My thinking so far is that I will have to do this using a custom field then the get_meta_data () method. Problem is, I don’t know what code to add (or where) to achieve this. Can anyone help me please? Blair June 29, 2012 at 4:14 am #9763 additiveMember Solved: found another post in this forum (on page 17!) which helped: http://wphostreviews.com/forums/topic/how-to-add-map-to-template-without-specifying-an-id Thanks! June 29, 2012 at 6:45 am #9767 ChrisMember Hi, there are some simple examples in the documentation of generating a map using PHP: http://wphostreviews.com/mappress-documentation However, if you already have your address or lat/lng data stored in custom fields, MapPress can just generate the maps automatically by geocoding those fields. If you’d like to try it, version 2.38.2 has better geocoding capability, and it also has a ‘template’ file you can use to customize the POI contents: http://wphostreviews.com/mappress-2-38-2-beta-available Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic.