This support ticket is created vor 5 Jahren, 11 Monaten. 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
i need to display field using taxonomy conditional. . on the page click the clock icon, i need to set it to display only if taxonomy = eat-and-drink OR business.
OK, so the context is the taxonomy archive, meaning you can use the custom taxonomy shortcode.
You would use it something like this, in that case:
[wpv-conditional if="( '[taxonomy output='slug']' eq 'eat-drink' ) OR ( '[taxonomy output='slug']' eq 'business' )"]
<p>Output what you want</p>
[/wpv-conditional]
I'm using slugs here because there is less chance of a mistake with the text name such as "Eat and drink" instead of "Eat and Drink". You can see the slugs on the page where you enter and edit terms for the taxonomy (as a sub-menu item for the custom post type they are assigned to).
The problem there is that you are not on a term archive page, you are on an archive for the entire taxonomy, so the custom shortcode cannot know which taxonomy term we are 'on' because there is none.
So there you are looking at what terms are assigned to the posts themselves.