Home › Forums › MapPress Support › Maps & Custom Fields – No Maps Generated
Tagged: automatic map, custom fields
- This topic has 6 replies, 3 voices, and was last updated 10 years, 7 months ago by
kathycac.
-
AuthorPosts
-
April 15, 2013 at 2:45 am #12240
whershfeld
ParticipantHi – I’m not sure where I’ve gone wrong here… I have a custom post type: POIs with custom fields for:
– Address
– City
– State
– ZipI have another field that also combined all these into one line: poi_address
I set MapPress Pro to use GeoCoding using the poi_address field – but it doesn’t generate any maps. Even if I select “Generate New Map”… The only way I can create a map for each custom post type is to manually generate it.
Help! I’m sure it’s something simple that I’m just not getting… pouring over the docs and forums and nothing’s clicked yet.
Thanks!
April 15, 2013 at 4:46 am #12245Chris
KeymasterHi,
Here’s how to test the basic setup:
- Make sure you’ve enabled your custom post type for maps and configured your address field in the geocoding settings
- Create a new post using the normal WordPress post editor (not a custom field plugin, etc.)
- Manually add the ‘address’ custom field (try ‘NYC’ for New York) to the post
- Publish the post
You should see a map named ‘automatic’ with a marker for New York.
If that doesn’t help, try deactivating your other plugins and switching to the 2012 theme for a moment, in case there’s some kind of conflict. And if you’re still stuck after that, please feel free to send a login with the contact form and I’ll take a look at the blog.
April 15, 2013 at 5:58 am #12247whershfeld
ParticipantThanks Chris – there was a hiccup in my setup somewhere… everything is working just fine now.
May 6, 2013 at 10:00 am #12500kathycac
ParticipantHi Chris,
I’m working on a site for a public school system. I have my custom post type of “school” enabled for maps and a wysiwyg field for the complete address.
The automatic map works on some but not all of the schools. (about 20 out of 82)
I have examined the address field for spurious characters. I’ve tried eliminating all other plugins. I’ve tried creating new posts and also updating existing posts. I can’t switch themes because that is where the custom post type with the custom fields is created.
Do you think the wysiwyg field might be the issue?
Thanks,
Kathy
May 6, 2013 at 10:24 am #12501kathycac
ParticipantHi Chris,
Changed my field from wysiwyg to text and split it in two – street address and city, state, zip. Works great now!
Thanks,
Kathy
May 6, 2013 at 10:50 am #12503Chris
KeymasterHi, I’m glad you got it working. I don’t know what a ‘wysiwyg’ field is, but it sounds like something from a fields plugin. Some plugins don’t write the data to WordPress custom fields, which is where it needs to be for MapPress to read it.
May 6, 2013 at 11:04 am #12504kathycac
ParticipantIt’s a field with an editor – visual and text views. I’m using a custom meta box plugins to assist with building the functions for the custom fields.
Your plugin is working great! Now I just have to go through and change all the addresses. : (
-
AuthorPosts
- You must be logged in to reply to this topic.