I want to have different markers based on the taxonomy.
From a previous solution I found out that this must be the right code:
[wpv-conditional if="(has_term('qualifying-patch', 'neighbourhood-types', null) eq '1')"]
[wpv-map-marker map_id="map-20" marker_icon="hidden link" marker_id='marker-[wpv-post-id]' marker_field="wpcf-address" marker_title="[wpv-post-title output='sanitize']"]
[/wpv-map-marker]
[/wpv-conditional]
[wpv-conditional if="(has_term('existing-team', 'neighbourhood-types', null) eq '1')"]
[wpv-map-marker map_id="map-20" marker_icon="hidden link" marker_id='marker-[wpv-post-id]' marker_field="wpcf-address" marker_title="[wpv-post-title output='sanitize']"]
[/wpv-map-marker]
[/wpv-conditional]
I'd created a content template with this code.
But I don´t know where on the page with the map I´ve to insert this code or the content template.
Can you please help me with this?
What is the link to your site?
hidden link
My issue is resolved now. Thank you!