Skip Navigation

[Resolved] Different Markers based on taxonomy

This support ticket is created 2 years, 2 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.

This topic contains 1 reply, has 1 voice.

Last updated by andreS-5 2 years, 2 months ago.

Author
Posts
#2497643

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

#2497665

My issue is resolved now. Thank you!