Support

Account

Home › Forums › General Issues › Display if not empty › Reply To: Display if not empty

  • Don’t think you need a function. Just do it like this in your template file:

    
    <?php if( get_field('county') ) { ?>
    	<?php echo get_field('county') . ' County' ; ?>
    <?php } ?>