Skip Navigation

[Resolved] Map Marker On Click Popup info

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

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.

This topic contains 2 replies, has 2 voices.

Last updated by simchaH 2 years, 9 months ago.

Author
Posts
#2222873

Hi,

I recently got helped with adding in the map marker to my view loop by using this shortcode:

[wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' marker_field='wpcf-address'][/wpv-map-marker]

It worked, and I am only trying to figure out how to add pop-up information to this shortcode? I would like for users to be able to click on a map marker and I would display certain cpt fields to them.

Thank You!

#2223233

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

The marker pop-up content simply goes between the opening and closing wpv-map-marker shortcodes, like so:

[wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' marker_field='wpcf-address']
This is the corresponding post title: [wpv-post-title]
[/wpv-map-marker]

The map shortcodes are documented here: https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-marker

And the Views shortcodes are documented here: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/

#2223287

My issue is resolved now. Thank you!

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.