How to add default text to get_field
-
I have the following code fetching a custom field value. I would like to display a text like “we have no content in this category” if there is nothing in the custom field. How can I do this using the ‘else’?
- The topic ‘How to add default text to get_field’ is closed to new replies.