Home › Toolset Professional Support › [Resolved] How to hide titles and close gap if no data in the content field
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)
Tagged: Views, Views plugin
This topic contains 2 replies, has 2 voices.
Last updated by neilM-12 4 years, 8 months ago.
Assisted by: Luo Yang.
If i have no data in a field how do i hide the above title field and close the gap?
Hello,
How do you setup/display the "titles and close gap"?
I assume we are talking about a content template for single post, you are going to hide post title shortcode [wpv-post-title] if the specific field is empty.
If it is, you can try with [wpv-conditional] shortcode, see our document:
https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/checking-fields-and-other-elements-for-emptynon-empty-values/
Checking fields and other elements for Empty/Non-empty Values
Across a few replies on other issues and advice here i was able to fix my issue. Thanks