Hide empty field in Pods
-
Is it possible in the pods template to hide a custom field heading if no information is entered in it?
I found a website which suggested that there is a magic tag for that, but is this true?
For example, you will print your content field inside a container div element if the field has data, else, do nothing you code will be like this:
{@content,,<div class=”item-container”>,</div>}
That trick saves my day so I want to share with you, if you are looking for it also.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Hide empty field in Pods’ is closed to new replies.