removing conditional in checking for post parent and children that checks if post...
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 24 Mar 2017 12:40:57 +0000 (08:40 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 24 Mar 2017 12:40:57 +0000 (08:40 -0400)
functions.php

index de894e3..57cda95 100644 (file)
@@ -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;
     }