How to ignore or hide a field if it has no value?
This comes in handy with fields that are not required by the CMS user to fill out and will sometimes remain blank.
<?php if (get_field('email')): ?> <?php the_field('email'); ?> <?php endif; ?>
Or if it is a sub field inside of the repeater loop.
<?php if (get_sub_field('email')): ?> <?php the_sub_field('email'); ?> <?php endif; ?>