Show markers for current category.
For this you can use shortcode with attribute categoryfilter
1 |
[LocateAndFilter map_id=320 categoryfilter="78,88,71"] |
multi values available only for checkbox
if you want get marker only for current category, term
the first thing you need to add this shortcode to the taxonomy page template
eg for taxonomy-project_expertises.php where project_expertises your taxonomy
and add code
1 2 3 |
$queried_object = get_queried_object(); $term_id = $queried_object->term_id; echo do_shortcode('[LocateAndFilter map_id=320 categoryfilter="'.$term_id.'"]'); |
preview
for select field https://locateandfilter.com/project_expertises/sloopmanagement/
for checkbox https://locateandfilter.com/project_locatie/didam/