Posted By

crs on 09/16/10


Tagged

wordpress fields custom


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

mikoli
athanassiadis
marclarr


Wordpress Custom Fields


 / Published in: PHP
 

  1. <?php $CUSTOM_NAME = get_post_meta($post->ID, 'CUSTOM_NAME', TRUE); ?>
  2. <?php if($CUSTOM_NAME) { echo $CUSTOM_NAME; } ?>

Report this snippet  

You need to login to post a comment.