Skip Navigation

[Resolved] Highlight View Item from Post Title in Map Marker

This thread is resolved. Here is a description of the problem and solution.

Problem:
Highlight View Item from Post Title in Map Marker and add link to marker popup

Solution:
There is a known issue that you can not add the link within the marker popup, here is the errata:
=>https://toolset.com/errata/cannot-use-types-shortcode-as-html-attribute-value-in-maps-pop-up/

Relevant Documentation:

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

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 2 replies, has 2 voices.

Last updated by simchaH 2 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#2226321

Hi,

I was interested in highlighting a view item based on the map marker, which I found info for in this thread: https://toolset.com/forums/topic/highlight-a-view-list-item-from-a-google-map-click/

The one difference I had a question about implementing, is that as opposed to having the on-click highlight happening when someone clicks on the map marker itself, I am interested in the highlight trigger happening from within the map marker popup - I have a [wpv-post-title] shortcode inside the popup, and was wondering if there is a way to add an <a href> link to the post title shortcode that would enable the highlight to occur?

Thank you,
Simcha

#2226567

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

As described with the ticket you shared that might be possible with little bit code change:
=> https://toolset.com/forums/topic/highlight-a-view-list-item-from-a-google-map-click/#post-2078807

You should be able to click on the link you added to the marker popup.

However there is a known issue that you can not add the <a href> link within the marker popup, here is the errata:
=>https://toolset.com/errata/cannot-use-types-shortcode-as-html-attribute-value-in-maps-pop-up/

You should try to add a custom shortcode that return the link and adjust the code as required.

#2228613

My issue is resolved now. Thank you!

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