Skip Navigation

[Resolved] Link Map Markers to Custom Posts

This support ticket is created 4 years, 1 month 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Adrian Robbins 4 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1802009

Hi Toolset

We need to 'link' the map markers to the results displayed by the View Block on the map.

So, we have the markers correctly displaying on the map and the clustering is all working correctly with the search filtering.

However when you 'click' on a map marker, nothing happens? We want it to load the custom post that generated the map marker - pretty basic stuff LOL. So, we must be missing something so very simple, but at a bit of a loss 🙁

The site URL is hidden link

The Home Page displays the map and search filters.

PS: We also cannot seem to display this map block as HTML, so we could manually edit the map marker code. With other content templates we are putting together for this project, we right click and select HTML

Does the map block not allow this??

#1802745

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand - you want to display the correct post title to which the marker icon belongs to when you click on the marker icon - correct? If yes:
- Have you setup the popup content for your marker from your map block?

Please check the following doc:
=> https://toolset.com/course-lesson/displaying-a-list-of-posts-on-a-map/#adding-marker-pop-up-content-and-hover-hints

#1802823

Hi Minesh

Thanks for the information and link, which is very helpful and will allow me to display the name and address of the members custom post. I had wodnered if this wass actuall the HTML field.

What we untilameyly want to do is display the members name, address, and contact detail with a click 'link' to their members profile, which is a custom post type.

Kind regards
Ade

#1802847

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Great.

Whatever you want to display could you please try to add it to that popup marker box and let me know if its not working.

#1804425

Hi Minesh

Thanks for all your help, and I have it now working.

Cheers Ade

#1804515

My issue is resolved now. Thank you!