From: Anthony Talarico Date: Fri, 24 Mar 2017 12:40:57 +0000 (-0400) Subject: removing conditional in checking for post parent and children that checks if post... X-Git-Tag: v1.0.0^2~47 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=5b2de1aeff68578f8f8676838d7be7defeb53459;p=WP-Themes%2Fmackinawferry.git removing conditional in checking for post parent and children that checks if post has thumbnail --- 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; }