From fad92ccda74544fa784b17ef4c756960dd32bad7 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Tue, 5 Jul 2016 15:48:31 -0400 Subject: [PATCH] added code so feature image would show on single post page --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index e79f1af..2db3587 100644 --- a/functions.php +++ b/functions.php @@ -291,7 +291,7 @@ function glm_site_scripts() /* Header for posts*/ function glm_get_background() { - if (has_post_thumbnail() && !is_woocommerce() && !is_shop() && !is_category() && !is_cart() && !is_checkout() && !is_account_page() && !is_home() && !is_archive() && + if (has_post_thumbnail() && !is_woocommerce() && !is_shop() && !is_category() && !is_cart() && !is_checkout() && !is_account_page() && !is_home() && !is_archive() && !is_single() && !is_page( array('product-category','cart','checkout','my-account')) ) { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full"); -- 2.17.1