Sorry for a noob question and one that has been brought up so many times but I've tried all that I've read and it's not working.
In my template I don't have the Extra Fields at the bottom but instead are separated out individually in different areas of the template and I call them with:This works fine but I'm not able to hide these if empty. What if statement would I use?
Thank you!
In my template I don't have the Extra Fields at the bottom but instead are separated out individually in different areas of the template and I call them with:
<?php $custom = $this->item->extra_fields; echo $custom[2]->value; ?><?php if(What Would Go Here) ?>
<?php $custom = $this->item->extra_fields; echo $custom[2]->value; ?>
<?php endif; ?>Thank you!