Only showing div if custom fields exist?
-
Hi there,
I would like to show a div on my index.php template with some text and custom fields, but only if custom fields exist for that post. If there are no custom fields, then I don’t want the div to show up at all.I know this has something to do with detecting whether or not ‘the_meta’ has a value, but I’m not very good with PHP. Can someone help me out?
Thanks,
Dalton
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Only showing div if custom fields exist?’ is closed to new replies.