Title: Featured image inside post issue
Last modified: August 21, 2016

---

# Featured image inside post issue

 *  [oneruffryder](https://wordpress.org/support/users/oneruffryder/)
 * (@oneruffryder)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/featured-image-inside-post-issue/)
 * Hi, i love your plugin and using it. But i have a problem.My site is only video
   site, and i use it when video thumb is not generated. The issue is if i add featured
   thumb, these images are not shown inside posts. If there is non generated thumb
   this plugin kicks in nicely by setting default.
 * Now the issue is that this image appear inside every my post. I dont know how
   to get rid off it from posts.
 * Any help ? thx
 * [https://wordpress.org/plugins/default-featured-image/](https://wordpress.org/plugins/default-featured-image/)

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

 *  Plugin Author [Jan-Willem](https://wordpress.org/support/users/janwoostendorp/)
 * (@janwoostendorp)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/featured-image-inside-post-issue/#post-5087027)
 * Hello oneruffryder,
 * Do you only want to exclude the default featured image on `posts` and show on
   other posttypes? Or am I misunderstanding something?
 *  Thread Starter [oneruffryder](https://wordpress.org/support/users/oneruffryder/)
 * (@oneruffryder)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/featured-image-inside-post-issue/#post-5087112)
 * Hey, What i want is this : If no thumbs are generated show default image like
   a thumb, but dont insert that thumb inside post.
 *  Plugin Author [Jan-Willem](https://wordpress.org/support/users/janwoostendorp/)
 * (@janwoostendorp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/featured-image-inside-post-issue/#post-5087113)
 * Okay, If I understand correctly you want to display a default thumb on all not
   single post pages. Like on the category page or maybe the search results, just
   never on the individual posts pages.
    Below the code to do just that:
 *     ```
       function exclude_single_posts ( $dfi_id, $post_id ) {
          // don't trigger on individual posts
         if( is_single() ) {
           return 0; // invalid id means no image
         }
         return $dfi_id; // the original featured image id
       }
       add_filter( 'dfi_thumbnail_id', 'exclude_single_posts', 10, 2 );
       ```
   
 * Let me know how it goes

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

The topic ‘Featured image inside post issue’ 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/)

## Tags

 * [featured image](https://wordpress.org/support/topic-tag/featured-image/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jan-Willem](https://wordpress.org/support/users/janwoostendorp/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/featured-image-inside-post-issue/#post-5087113)
 * Status: not resolved