カスタムフィールドの値の有無で表示を変更
<?php if(post_custom('値の名前')): ?> 値のある場合の処理 <?php else : ?> ない場合の処理 <?php endif; ?>