Problem:
How can I check if the Post Body is empty, in a View?
Solution:
This requires a additional Custom PHP function registered in Toolset > Settings > Frontend Content > 3rd party Functions
It's elaborated in detail here:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/using-custom-functions-in-conditions/ > Checking For Empty Post Content
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.
Our next available supporter will start replying to tickets in about 1.04 hours from now. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 3 replies, has 2 voices.
Last updated by kelvinL-2 7 years, 11 months ago.
Assisted by: Beda.