From c8aae0370fc5190b49f8e8ef80e184f201002fea Mon Sep 17 00:00:00 2001 From: Robin Cornett Date: Sat, 28 Feb 2015 19:54:58 -0500 Subject: [PATCH] Fix array for term/default archive image --- includes/helper-functions.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/includes/helper-functions.php b/includes/helper-functions.php index a4156cd..d45b0d6 100644 --- a/includes/helper-functions.php +++ b/includes/helper-functions.php @@ -146,14 +146,11 @@ function display_featured_image_genesis_get_cpt_image_url( $size='displayfeature */ function display_featured_image_genesis_add_archive_thumbnails() { - $show_on = apply_filters( 'display_featured_image_genesis_archive_thumbnails', array( - is_home(), - is_archive(), - is_page_template( 'page_blog.php' ), - is_search(), + $no_show = apply_filters( 'display_featured_image_genesis_archive_thumbnails', array( + $no_show[] = is_singular(), ) ); - if ( ! in_array( true, $show_on ) ) { + if ( in_array( true, $no_show ) ) { return; }