Problem:
How can I check if a Post in a Views Loop has a certain Taxonomy term assigned, so to use that in a HTML conditional to display (or not) data according wether the post has a term or not?
Solution:
To evaluate if a Post has a certain Term assigned, you need to use a special Conditional:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/displaying-taxonomies-conditionally/ > Checking if a post has a specific term assigned
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by 7 years, 10 months ago.
Assisted by: Beda.
The forum ‘Types Community Support’ is closed to new topics and replies.