Saltar navegación

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

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 4 years, 6 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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por simchaH 4 years, 6 months ago.

Asistido por: Minesh.

Autor
Mensajes
#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


Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: 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 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!