Skip Navigation

[Resolved] How to direct users to the search result if they click a marker on the map.

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 Waqar 5 months, 2 weeks ago.

Assigned support staff: Waqar.


Please pass this ticket to Waqar or Nigel.

Refering to this ticket:

How can users be directed to the search result if they click a marker on the map? Now, if I click a marker (read: a specific address) I am not being refered to the search result.



Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)


Thank you for contacting us and I'd be happy to assist.

I checked the page at {}/acquisitie-opportuniteiten-professionele-kopers-extra-filters/ and noticed that this was the shortcode being used in the view's loop, for the map markers:

[wpv-map-marker map_id='map-22' marker_id='marker-[wpv-post-id]' marker_field='wpcf-adres'][/wpv-map-marker]

As there is no content provided between the opening and closing "wpv-map-marker" shortcode tags, no content was shown on the map marker's click.
( ref: )

I've included the post link shortcode [wpv-post-link] between the marker shortcode tags and you'll see that the post's link is now showing when any marker is clicked:

[wpv-map-marker map_id='map-22' marker_id='marker-[wpv-post-id]' marker_field='wpcf-adres' marker_title='title']

The visitors can use that link, to go to the original single post page and you can replace [wpv-post-link] shortcode with any desired information that you'd like to show, in the map marker pop-up.