Sauter la navigation

[Résolu] filter map markers by custom post type

This support ticket is created Il y a 3 années et 9 mois. 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)

Ce sujet contient 0 réponses, a 1 voix.

Dernière mise à jour par amandaD Il y a 3 années et 9 mois.

Assisté par: Jamal.

Auteur
Publications
#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?