Posted By

visualadvance on 03/20/11


wordpress meta

Versions (?)

Wordpress: Show Post Meta

 / Published in: PHP

Replace "featured-image" with whatever your custom field name is.

  1. <?php $image = get_post_meta($post->ID, 'featured-image', true); echo $image; ?>

Report this snippet  


RSS Icon Subscribe to comments
Posted By: TourKick on July 23, 2011

Don't use hyphens in custom field names though...

You need to login to post a comment.