hanuman6
11/19/2013 - 5:01 PM

カスタムフォールド表示

カスタムフォールド表示

<?php if(get_post_meta( $post->ID, 'discount', true )): ?>
    <p>今なら割引価格:<?php echo post_custom( 'discount' ); ?>円</p>
<?php endif; ?>