jbutko
12/23/2013 - 10:53 PM

PHP, WP: Display value of one specific custom field

PHP, WP: Display value of one specific custom field

// Be careful as the 'key' ( = name of the field) is case sensitive

<?php echo get_post_meta($post->ID, 'key', true); ?>

<?php // From http://css-tricks.com/snippets/wordpress/using-custom-fields/ ?>