From The Blog

Wordpress: get featured image for a post

9 May 2013, in WordPress

How to get featured image "thumbnail" for a post?

$feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
echo '$feat_image';


Post a Comment