hanuman6
7/13/2013 - 11:39 AM

カスタムフィールドの値の有無で表示を変更

カスタムフィールドの値の有無で表示を変更

<?php if(post_custom('値の名前')): ?>
値のある場合の処理
<?php else : ?>
ない場合の処理
<?php endif; ?>