From 0ad46dd3f94e025a7125a1c23f64244a75fa83c5 Mon Sep 17 00:00:00 2001 From: Robin Cornett Date: Fri, 27 Feb 2015 10:14:23 -0500 Subject: [PATCH] fix cpt array --- includes/helper-functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/helper-functions.php b/includes/helper-functions.php index 5b0737e..a8800d2 100644 --- a/includes/helper-functions.php +++ b/includes/helper-functions.php @@ -91,9 +91,10 @@ function display_featured_image_genesis_get_default_image_url( $size='displayfea function display_featured_image_genesis_get_cpt_image_id() { $no_show = array( + is_admin(), is_author(), - is_search(), is_page(), + is_search(), 'post' === get_post_type(), );