From 5b23664fc81f12528eba6339d96bfdb4c7397062 Mon Sep 17 00:00:00 2001 From: Robin Cornett Date: Mon, 2 Mar 2015 11:36:14 -0500 Subject: [PATCH] Add early return for admin --- includes/helper-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/helper-functions.php b/includes/helper-functions.php index 3e2c47e..8f8a73e 100644 --- a/includes/helper-functions.php +++ b/includes/helper-functions.php @@ -146,7 +146,7 @@ function display_featured_image_genesis_get_cpt_image_url( $size='displayfeature */ function display_featured_image_genesis_add_archive_thumbnails() { - if ( is_singular() ) { + if ( is_singular() || is_admin() ) { return; }