okuden-labo
4/6/2015 - 7:35 AM

wordpress カスタムフィールドで ショートコードを使う

wordpress カスタムフィールドで ショートコードを使う

//google mapなどの表示で便利
<?php echo apply_filters('the_content', get_post_meta($post->ID, 'your_custom_field_here', true)); ?>