Skip Navigation

[Resolved] Maps only showing in some posts

This thread is resolved. Here is a description of the problem and solution.

Problem: Some maps do not show markers appear as expected, but others do.

Solution: Check the marker shortcode and be sure the marker field slug is accurate.

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by christopherE-3 6 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1179177

I am trying to:
Get maps to show on all instances of a custom post type, being presented through a layout. For each of two custom post types (campgrounds, destinations) only one instance of the post has a working map on the front end. The back end seems to be working.
Link to a page where the issue can be seen:
Maps working here: hidden link
But not working here: hidden link
I expected to see:
hidden link
Instead, I got: hidden link

The same is true on this WordPress Archive page for one of the custom post types:. Only the posts above that show on the individual post pages show on the archive page map that should show many posts (so only one post is showing on the archive map). Also, the maps work when I put them directly into the body of a post (as opposed to displaying them in a cell in a layout common to all instances of the custom post type. I went through the Google API steps that i've found in your documentation and forum, but that didn't help. I can't find anything different about the post instances that are showing on the maps presented through the layout (the

#1179212

Hi, it looks like maybe you had one custom field "Location Map" and another custom field "Map" at some point or another. The map markers were created based on the "Location Map" field, but the addresses are actually stored in the "Map" field (slug is wpcf-map). I modified one of the marker shortcodes in your Layout so you can see what I mean. One of the Joshua Tree markers is showing up now - the one I changed. Hope this helps.

#1179257

My issue is resolved now. Thank you!