remove early return condition for fallback image

had bailed early if no fallback, or if not a singular page/post
This commit is contained in:
Robin Cornett
2014-12-31 08:32:17 -05:00
parent ad47e48784
commit 1d5bd646f2
@@ -17,7 +17,7 @@ class Display_Featured_Image_Genesis_Output {
public function manage_output() {
$displaysetting = get_option( 'displayfeaturedimagegenesis' );
$fallback = $displaysetting['default'];
if ( is_admin() || ( empty( $fallback ) && ! is_home() && ! is_singular() ) || ( in_array( get_post_type(), Display_Featured_Image_Genesis_Common::get_skipped_posttypes() ) ) ) {
if ( is_admin() || ( in_array( get_post_type(), Display_Featured_Image_Genesis_Common::get_skipped_posttypes() ) ) ) {
return;
}