Hello
I'm trying to make a conditional link for different Custom catégories
<div class="row">
<div class="col-sm-12">
[wpv-conditional if="( '[wpv-taxonomy-id]' eq '14' )" debug="true"]<a href="/projets/?1=parc-naturel">[/wpv-conditional]
[wpv-conditional if="( '[wpv-taxonomy-id]' eq '15' )" debug="true"]<a href="/projets/?1=campus-et-ecole">[/wpv-conditional]
[wpv-post-taxonomy type="projet-cat" format="name"]
</a>
</div>
The debug "Original expression: ( '' = '14' )"
I guess the shortcode [wpv-taxonomy-id] isn't right for a custom category ?
Is there a way to obtain the ID from a custom taxonomy
Thanks
This code won't work if I have more than one taxonomie.
Sorry for the inconvenance
My issue is resolved now. Thank you!