Support

Account

Home Forums Front-end Issues show custom fields front-end – if data inside. Reply To: show custom fields front-end – if data inside.

  • You can do that..

    <?php if( get_field('field_name') ): ?>
    	<p>My field value: <?php the_field('field_name'); ?></p>
    <?php endif; ?>

    Here is the official link
    https://www.advancedcustomfields.com/resources/hiding-empty-fields/