Skip Navigation

[Resolved] Showing Two CPT on a single map

This support ticket is created 5 years, 10 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.

This topic contains 1 reply, has 2 voices.

Last updated by Diego Pereira 5 years, 10 months ago.

Assisted by: Diego Pereira.

Author
Posts
#1188078

I have a Parent CPT (Region) with two Child Post types (Wineries & Wine Experiences) . On the Parent View I would like to show a map displaying the child posts of the current Parent. Is it possible?

#1188149

Diego Pereira
Supporter

Hello @Gian Luca, welcome to the Toolset support Forum!

Yes, it's possible. You can create a View to display the markers inside a map. Please take a look at this link (Display a list of items on a map section): https://toolset.com/documentation/user-guides/display-on-google-maps/#maps-on-frontend

As you are using post relationship, please take a look at these links:
- https://toolset.com/documentation/post-relationships/
- https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-related-child-posts/

Please let me know if it worked for you.

All the best,
Diego