Navigation überspringen

[Gelöst] conditional taxonomy not working

This support ticket is created vor 6 Jahren. 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.

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von meirk vor 6 Jahren.

Author
Artikel
#1201809

I am trying to:
display a word according to conditional toolset
i tried;
[wpv-conditional if="( '[wpv-post-taxonomy type='tipo-de-material' format="name"]' eq 'video' )"]***video***[/wpv-conditional]

while 'tipo-de-material' is a custom types category
if i display [wpv-post-taxonomy type='tipo-de-material' format="name"] it shows me "video" in the right way but the conditional always return false...

#1202041

Hi,

Can you try this format:
[wpv-conditional if="( CONTAINS(#(tipo-de-material),'video') )"]Video[/wpv-conditional]

#1202063

My issue is resolved now. Thank you!
It was a issue with the uppercase ...
thanks anyway to show me the "contains" condition function.