If custom field has content

/ Published in: PHP
Save to your folder(s)

Good for showing labels/descriptions that accompany custom fields when they are set, and avoiding lots of empty labels.
Eg: if there is no content set in the 'project-agency' field, don't show the label 'Agency:', but if there is, show it with the content.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.