From 5b2de1aeff68578f8f8676838d7be7defeb53459 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 24 Mar 2017 08:40:57 -0400 Subject: [PATCH] removing conditional in checking for post parent and children that checks if post has thumbnail --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index de894e3..57cda95 100644 --- a/functions.php +++ b/functions.php @@ -100,7 +100,7 @@ function glm_get_header() { global $post; $post_id = $post->ID; - if ( $post->post_parent && !has_post_thumbnail($post->ID)){ + if ( $post->post_parent){ $post_id = $post->post_parent; } -- 2.17.1