If you read the documentation that you have linked to, you would see that the post ID is stored in the array key post_id
and not ID
.
You should then change
get_the_post_thumbnail($popular_post->ID, 'wpbs-featured-full');
to
get_the_post_thumbnail($popular_post['post_id'], 'wpbs-featured-full');
Related Posts:
- How to disable WordPress from creating thumbnails?
- set_post_thumbnail_size vs add_image_size
- the_post_thumbnail responsive srcset not populating with custom image size
- Set custom name for generated thumbnails
- New image size version only for the Featured Image file
- wp_get_attachment_image_src always returns full-sized image
- Add Title Attribute to WordPress Image the_post_thumbnail
- Can WordPress crop only the post thumbnails?
- Query the post which have a thumbnail
- Autogenerated Thumbnail compression depending on size
- How to use SRCSET with get_the_post_thumbnail()?
- How to use images uploaded with custom implementation of thickbox like the_post_thumbnail() functionality
- Media thumbnail for custom post inside post content
- Thumbnail and Featured Image With Fixed Sizes?
- List category posts – Thumbnails are not displaying
- How to make thumbnail image fit into a div where image dimentions are completely different?
- Why am I getting errors in product.thumbnails.php? [closed]
- Is there a way to change a post’s thumbnail image(s)?
- Get post thumbnail from subpages with a foreach loop
- how i can increase Featured thumbnails size?
- How check that there is post thumbnail feature image or not on wordpress?
- Force WordPress to strip/remove EXIF/IPTC metadata when resizing thumbnails
- If I Regenerate Thumbnails, would WordPress delete the existing Thumbnails and replace them with ‘new copies’?
- Is it possible to nest get_previous_post()?
- How to get cropped thumbnail source for custom post type
- Get ID of featured image using “get_post_thumbnail_id(the_ID())” – without printing to screen?
- How to offset thumbnails to the center?
- Sidebar Thumbs Squished?
- Aligning the thumbnail image
- Post thumbnail not working after regenerate
- How do get post thumbnail into plugin?
- “Medium” size image displayed instead of “thumbnail” in only one post, other posts are fine
- How to create resized versions of images added with wp_insert_attachment
- get_post_thumbnail_id() Doesn’t return value [closed]
- How To Add and Display Category Image
- get_the_post_thumbnail(‘thumbnail-name’) always returns empty string
- ‘Post-thumbnails’ feature does not seem to register
- Why use foreach to get attachment_id if numberposts is equal to 1?
- Show posts image attachments
- Thumbnail is showing outside its div instead of inside it
- get_post_thumbnail does not display thumbnail
- Else/If Statement to Display Photo Descriptions
- Category page with thumb is ok but can’t do the same with tags
- How to Make Thumbnail of Post Stay Animated
- how can I call a posts featured image in any template?
- how to resize thumbnail image
- Get a random thumbnail from posts belonging to a specific taxonomy
- Display post thumbnail in foreach loop
- Different thumbnails for index and article page
- Thumbnails not being generated for PDF files
- Thumbnail size problem Desktop vs Mobile site
- How do you code a featured image into an XML as a jpg link, instead of using a data-id number?
- How to change the format of thumbnails into wordpress theme?
- display div tag only if post has thumbnail
- Thumbnails are hard cropped not matter what
- Thumbnails regenerate wp_generate_attachment_metadata
- Featured image size always cropped bottom
- set_post_thumbnail() shows Unattached on backend under Media
- Allow ‘Set featured images’ to select multiple images
- Why wordpress doesn’t generate thumbnails?
- Force Regenerate Thumbnails Not Working
- How to correctly add the featured immage (thumbnails) support in a WP theme? Why I can’t add a featured immage?
- Trouble Retrieving Thumbnail URL on Front-Page
- I would like my posts to pull my custom cropped thumbnail instead of creating its own thumbnail from Featured Image
- WordPress save thumbnail but don’t show it [closed]
- Automatic adding thumbnail to post
- Different thumbnail size than actual picture in post
- How can i give a download link to the thumbnail or featured image
- Where is the template from the_post_thumbnail()?
- Images thumbnail not cropping square
- Filter for post_thumbnail: link to small src and add data-attribute [duplicate]
- Query to delete all featured images and remove post meta?
- How can I check for a thumbnail in WordPress?
- How can i make this in the_post_thumbnail?
- Three Questions with Twenty Eleven theme
- Featured image/thumbnail fallback placeholder image
- How to bring files from the upload directory to the media gallery?
- Server B handling add_image_size() differently than Server A
- Add class to custom thumbnail
- Display related posts without a plugin
- get taxonomy thumbnail and use it as a variable in code
- How to use get_the_title with text on the ‘alt’ of the_thumbnail array?
- array set title and alt in the_post_thumbnail
- Post thumbnail throwing size limit parameters in
- How can i hide post without thumbnails/featured images from index pages?
- How to add gallery support in WordPress?
- Get thumbnail image according to the screen
- the_title() is not displaying over the_thumbnail
- Image with large file size not cropping
- remove_image_size doesn’t seem to be working
- Get Featured Image Outside Loop Not Working
- WordPress function and string as variable?
- What can I do if I set a gif as featured image? no thumbnail when i share on facebook
- related author post thumbnail shows post thumbnail
- Retrieving featured image on static blog posts page
- Resize image to specific dimension (X to Y ratio)
- Wanting to change presentation from full post to featured image (post_thumbnail) only
- How do I add a default thumbnail to elseif when no get_field(‘photos’), and no post thumbnail exists?
- Problem with showing featured image
- Admin – no Featured image choice in create new/page|post