Support

Account

Home Forums General Issues Post Object Featured Image URL Reply To: Post Object Featured Image URL

  • FYI, this solved the problem for me…

    $featured_img_url = get_post_thumbnail_id( $post->ID );
    echo wp_get_attachment_image_url( $featured_img_url, 'thumbnail' );