Skip Navigation

[Resuelto] Is there a way to obtain the ID from a custom taxonomy

This support ticket is created hace 6 años, 1 mes. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por miguelG-5 hace 6 años, 1 mes.

Autor
Mensajes
#1124630

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"][/wpv-conditional]
[wpv-conditional if="( '[wpv-taxonomy-id]' eq '15' )" debug="true"]
[/wpv-conditional]

[wpv-post-taxonomy type="projet-cat" format="name"]

</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

#1124691

This code won't work if I have more than one taxonomie.

Sorry for the inconvenance

My issue is resolved now. Thank you!