Advanced Custom Fields 項目がない場合非表示
<?php if( get_field('フィールド名') ): ?> 表示したい中身<?php the_field( 'フィールド名',$post->ID); ?> <?php endif;?>