Reply To: Custom fields for automatic map generation

Home Forums MapPress Support Custom fields for automatic map generation Reply To: Custom fields for automatic map generation

#15360
Chris
Keymaster

Hi,

Before working with the templates, check that you can see the generated maps in the WP post editor. Maps are generated when a post is saved or published and they’ll be named ‘automatic’.

For example, assuming you have a custom field called ‘address’, here’s the basic steps:
1. Go the the MapPress settings. In the ‘geocoding’ section set the map field ‘address’ to your custom field ‘address’
2. Edit an existing post
3. In the post, set custom field ‘address’ to the value ‘NY’
4. Publish the post

You should now see a map called ‘automatic’ in the post. If you do not, check if there’s an entry in custom field ‘mappress_error’ (the plugin writes geocoding errors there).