Problem:
The user would like to use a conditional shortcode on a taxonomy term for multiple values.
Solution:
We can nest conditions inside the conditional shortcode as follow:
[wpv-conditional if="( CONTAINS(#(building),'Building 1') OR CONTAINS(#(building),'Building 5') OR CONTAINS(#(building),'Building 8') )"]
Relevant Documentation:
https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/#connecting-conditions
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - | - | 9:00 – 13:00 |
14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - | - | 14:00 – 18:00 |
Supporter timezone: Africa/Casablanca (GMT+01:00)
This topic contains 2 replies, has 2 voices.
Last updated by 4 years, 7 months ago.
Assisted by: Jamal.