Update tabs/sections

This commit is contained in:
Robin Cornett
2017-11-01 12:52:55 -04:00
parent 1bf2504b14
commit 2285e656b4
2 changed files with 14 additions and 5 deletions
@@ -373,7 +373,7 @@ class Display_Featured_Image_Genesis_Common {
* whether get_post_type array should use large image instead of backstretch.
* @uses is_in_array()
*/
if ( self::is_in_array( 'use_large_image' ) || ( isset( $setting['large'][ $post_type ] ) && $setting['large'][ $post_type ] ) ) {
if ( self::is_in_array( 'use_large_image' ) || ( is_singular() && isset( $setting['large'][ $post_type ] ) && $setting['large'][ $post_type ] ) ) {
return 'large';
}