Support

Account

Home Forums General Issues Only show fields if not blank Reply To: Only show fields if not blank

  • Wrap the link and image inside of an if, which checks to see if both are not empty like this:

    <?php if ( get_field(‘field_link’) != “” && get_field(field_image) != “” ) { ?>
    “>“>
    <?php } ?>