Title: get_the_post_thumbnail pulling default image
Last modified: April 30, 2018

---

# get_the_post_thumbnail pulling default image

 *  Resolved [WordHerd](https://wordpress.org/support/users/khadlock/)
 * (@khadlock)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/get_the_post_thumbnail-pulling-default-image/)
 * Hi,
 * First off, thank you for your plugin, it has worked great so far. However, we’re
   now having an issue where the default image is being pulled through get_the_post_thumbnail
   even though the post has a featured image set. How can you help us debug this?
   Can we PM you with the details?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jan-Willem](https://wordpress.org/support/users/janwoostendorp/)
 * (@janwoostendorp)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/get_the_post_thumbnail-pulling-default-image/#post-10233096)
 * Hi,
 * Well first I’d like to help you debug.
 * On the spot where you call `get_the_post_thumbnail` If you `echo get_the_ID()`
   do you get the ID of the correct post?
    If you deactivate my plugin, does the
   correct image come through?
 * When you turn off plugins does the issue still exist?
    Can you change theme, 
   does the issue still exist?
 * Let me know how it goes. Big chance a wrong post is called. And it’s not the 
   fault of DFI.
 * Let me know,
    I’ll help with followup
 *  Plugin Author [Jan-Willem](https://wordpress.org/support/users/janwoostendorp/)
 * (@janwoostendorp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/get_the_post_thumbnail-pulling-default-image/#post-10328485)
 * Hi, did my advice help?
    Do you need anymore help?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘get_the_post_thumbnail pulling default image’ is closed to new replies.

 * ![](https://ps.w.org/default-featured-image/assets/icon-256x256.jpg?rev=1058491)
 * [Default Featured Image](https://wordpress.org/plugins/default-featured-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/default-featured-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/default-featured-image/)
 * [Active Topics](https://wordpress.org/support/plugin/default-featured-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/default-featured-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/default-featured-image/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jan-Willem](https://wordpress.org/support/users/janwoostendorp/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/get_the_post_thumbnail-pulling-default-image/#post-10328485)
 * Status: resolved