if custom field != null
-
hey, everyone
i’m using custom fields to add a name of a image.
but some of my posts don’t have this custom field.
i’d like to know if i can create a function, something like
if ( custom_field != null ) :
i tried some things that haven’t worked… maybe because the custom field even exist on some posts
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘if custom field != null’ is closed to new replies.