Problem:
I'm trying to hide a row which contains a conditional statement/data. I tried to switch back to general editor for adding the conditional statement so the row isn't visible anymore, that works. But after switching back to WP Bakery for further editing, WP Bakery adds extra rows for the conditional statement and also one for the closing tag.
Solution:
You can create a Views content template, put the [wpv-conditional] shortcode into this content template, then display the content template shortcode where you want using [wpv-post-body] shortcode, for example:
[wpv-post-body view_template="my-content-template-slug"]
Relevant Documentation:
https://toolset.com/documentation/user-guides/view-templates/
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: Asia/Hong_Kong (GMT+08:00)