[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.

This topic contains 2 replies, has 2 voices.

Last updated by neilM-12 2 months, 4 weeks ago.

Assigned support staff: 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

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

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