Saltar navegación

[Resuelto] filter map markers by custom post type

This support ticket is created hace 3 años, 9 meses. There's a good chance that you are reading advice that it now obsolete.
Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+01:00)

Este tema contiene 0 respuestas, tiene 1 mensaje.

Última actualización por amandaD hace 3 años, 9 meses.

Asistido por: Jamal.

Autor
Mensajes
#1995233

I have a page that shows a map with a tabbed list of 4 different custom post types. I would like a way to filter the map markers so the user can toggle on/off different markers for different post types. I know this can be done with a view and filter, but I have had to do this page in PHP because of some complex grandparent-grandchild relationship queries.

Is there a filter or hook that I can use, or perhaps some javascript, to hide/show specific map markers?