Title: Default Featured Image Breaks User Submitted Posts Plugin Functionality
Last modified: February 7, 2021

---

# Default Featured Image Breaks User Submitted Posts Plugin Functionality

 *  Resolved [Brad Brown](https://wordpress.org/support/users/bradbrownmagic/)
 * (@bradbrownmagic)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/default-featured-image-breaks-user-submitted-posts-plugin-functionality/)
 * _User Submitted Posts_ is a plugin that allows users to submit posts through 
   the front end. This includes the ability to add a featured image. However, the
   user provided featured image will not be used if a default featured image has
   been set in Chaplin.
 * This is because _User Submitted Posts_ will not add the featured image if has_post_thumbnail
   returns true. When a default featured image has been set in Chaplin, has_post_thumbnail
   always returns true, making it impossible to set the featured image.
 * Would it be possible to apply a filter to the $disable_fallback_image variable
   in the chaplin_filter_has_post_thumbnail function in template-tags.php? (Similar
   to what is currently done in the chaplin_filter_fallback_image function.) That
   would allow me to override that variable’s value in this specific scenario.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Brad Brown](https://wordpress.org/support/users/bradbrownmagic/)
 * (@bradbrownmagic)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/default-featured-image-breaks-user-submitted-posts-plugin-functionality/#post-14015924)
 * It occurred to me that I can just add a filter on has_post_thumbnail with a higher
   priority to override what Chaplin is doing, so I don’t really have to have a 
   filter in chaplin_filter_has_post_thumbnail. So, I’m OK, but it probably wouldn’t
   be a bad idea for Chaplin to allow for an override.
 * Thanks again.

Viewing 1 replies (of 1 total)

The topic ‘Default Featured Image Breaks User Submitted Posts Plugin Functionality’
is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/chaplin/2.6.8/screenshot.png)
 * Chaplin
 * [Support Threads](https://wordpress.org/support/theme/chaplin/)
 * [Active Topics](https://wordpress.org/support/theme/chaplin/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/chaplin/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/chaplin/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Brad Brown](https://wordpress.org/support/users/bradbrownmagic/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/default-featured-image-breaks-user-submitted-posts-plugin-functionality/#post-14015924)
 * Status: resolved