Casey

Full-Stack Developer

#wordpress

Get a post’s featured image

<?php $featured = wp_get_attachment_url(get_post_thumbnail_id($post->ID)); ?>