Show info from custom field only when there is a value?
I’m trying to get WP to only show information when there is a value in a custom field.
For example, if I have an email address to show, the custom field would hold the email, but I also want to make it look a little neater by including some text:
If there is no email address placed into the custom field, I don’t want the Email: to appear and don’t want to have a line break where it would have appeared.
- The topic ‘Show info from custom field only when there is a value?’ is closed to new replies.