fixing syntax error missing &&
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 21 Nov 2016 19:01:34 +0000 (14:01 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 21 Nov 2016 19:01:34 +0000 (14:01 -0500)
lib/header.php

index 64eacd7..81a5526 100644 (file)
@@ -2,7 +2,7 @@
 function glm_get_header() {
     echo '<div';
 
-    if (has_post_thumbnail() && !is_archive() && !is_category() && !is_search() !is_home()) {
+    if (has_post_thumbnail() && !is_archive() && !is_category() && !is_search() && !is_home()) {
             $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
             echo ' style="background-image: url('.$image_data[0].');max-height:300px;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;border-top-left-radius: 10px; border-top-right-radius: 10px; "';
     } else {