Added a default feature image
authorIan Weller <ian@gaslightmedia.com>
Fri, 26 Jan 2018 17:27:26 +0000 (12:27 -0500)
committerIan Weller <ian@gaslightmedia.com>
Fri, 26 Jan 2018 17:27:26 +0000 (12:27 -0500)
I added a default feature image to the theme.  It's the image we had in
the header.

functions.php

index 321b623..eeec168 100644 (file)
@@ -93,7 +93,7 @@ function glm_get_header() {
             $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
             echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:290px;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px; "';
     } else {
-            //echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.gif);height:0;padding:0;padding-bottom:30%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"';
+            echo ' style="background-image: url('.get_template_directory_uri().'/assets/Arrive-over-Terminal_v2.jpg);height:0;padding:0;padding-bottom:290px;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"';
             echo ' class="no-featured"';
     }
     echo '>';