Show second field if first is empty
-
Okay i have a custom taxonomy with two field, now I would like to show one field that is empty (no content) i would like to show another instead, how do i accomplish that?
I call the main field with:
<?php echo $stores_info; ?>
and the one that should show if that would be empty with:
<?php echo $term->description;?>
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Show second field if first is empty’ is closed to new replies.