Skip Navigation

[Resolved] How to hide titles and close gap if no data in the content field

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

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)

This topic contains 2 replies, has 2 voices.

Last updated by neilM-12 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#1580287

If i have no data in a field how do i hide the above title field and close the gap?

#1580475

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

#1585505

Across a few replies on other issues and advice here i was able to fix my issue. Thanks

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.