Problem: I would like to loop over repeating custom fields and display each field conditionally using wpv-conditional.
Solution: The wpv-conditional shortcode will not be effective in a for-each loop. The best solution is to write a custom shortcode that performs this type of operation.
Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-for-each
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 4 replies, has 2 voices.
Last updated by Jean-Marie Clément 6 years, 9 months ago.
Assisted by: Christian Cox.
The forum ‘Types Community Support’ is closed to new topics and replies.