Skip Navigation

[Resolved] Popup content for map marker

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
- 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 1 reply, has 1 voice.

Last updated by kasiaK 5 days, 22 hours ago.

Assisted by: Minesh.

Author
Posts
#2797016

Tell us what you are trying to do?

Display information in the map marker content. User clicks, some info pops up.

Is there any documentation that you are following?

I have bee scouring tickets, ChatGPT, and youtube. Unfortunately not sure what I am missing. (Though I am getting better at designing with Toolset.

Is there a similar example that we can see? I can't figure out how I made this work the page is extremely complex (all short codes I can't afford to break the site as it is live. I would like something similar when clicking on my map marker on a new site I am working on.
Example of what I want:
hidden link
i also created the following example, but i also can't review it as it is diplaying a very old version of toolset (while I have a license for it, it just won't connect!) hidden link

What is the link to your site?

hidden link
Nothing happens when I click on the map markers...

This is the shortcode in my loop.

[wpv-map-marker map_id='map-2' marker_id='marker-2' marker_field='wpcf-location-map'][wpv-post-link class="map-marker-title"][types field='property-address' class="map-marker-address"][/types][/types][/wpv-map-marker]

I have also tried using custom html block and tried using fields and text block. IN the popup content settings of the map. if I put in a static value the map shows a pop up. I tried the short code in there but that didn't work either.

Thank you for your help in advance.

Note this site is in development and behind a maintenance wall. only pages you can see are:

hidden link
hidden link
hidden link

#2797237

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Have you checked the following doc that should help you to add the marker popup:
=> https://toolset.com/course-lesson/displaying-a-list-of-posts-on-a-map/#add-marker-pop-up-content-and-hover-hints

Also, if you want to use the shortcode way - then you will have to remove the existing marker from the map block and then you should try to add the following to "Fields and Text" block:

[wpv-map-marker map_id='map-2' marker_id='marker-[wpv-post-id]' marker_field='wpcf-location-map'][wpv-post-link class="map-marker-title"][types field='property-address' class="map-marker-address"][/types][/types][/wpv-map-marker]

- Where Please make sure that map_id attribute value "map-2" is the correct value.

#2797560

Thank you. It would be nice if the video covered that. I also couldn't find anything in toolset when searching pop-up, but perhaps I searched for popup, etc.

I assumed the rest of the page only covered what was in video. Once I continued to read more on the page, I was able to figure out. I'm so happy. Can't thank you enough! Very helpful.