fixing syntax error
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 26 Aug 2016 18:15:42 +0000 (14:15 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 26 Aug 2016 18:15:42 +0000 (14:15 -0400)
functions.php

index ceab74c..ed3022b 100644 (file)
@@ -180,11 +180,11 @@ endif;
 
 /* Header for posts*/
 function glm_get_header() {
-    echo '<div';
+    echo '<div class="interior-featured"';
 
     if (has_post_thumbnail()) {
             $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
-            echo 'class="interior-featured" style="background-image: url('.$image_data[0].');height:100%;padding-bottom:33%;background-position:center center;background-size: 100%;background-repeat:no-repeat; "';
+            echo ' style="background-image: url('.$image_data[0].');height:100%;padding-bottom:33%;background-position:center center;background-size: 100%;background-repeat:no-repeat; "';
     } else {
             echo ' style="background:transparent;height:100%;padding:0;padding-bottom:0;background-position:center center;background-size: 100%;background-repeat:no-repeat;"';
             echo ' class="no-featured"';