I added a new default image
authorIan Weller <ian@gaslightmedia.com>
Fri, 7 Jul 2017 20:29:07 +0000 (16:29 -0400)
committerIan Weller <ian@gaslightmedia.com>
Fri, 7 Jul 2017 20:29:07 +0000 (16:29 -0400)
I updated the default image with something they had on 5WebClients and
placed it as the new default image.

assets/lobby.jpg [new file with mode: 0644]
functions.php

diff --git a/assets/lobby.jpg b/assets/lobby.jpg
new file mode 100644 (file)
index 0000000..836a5d8
Binary files /dev/null and b/assets/lobby.jpg differ
index decdf15..a01e395 100644 (file)
@@ -79,7 +79,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:20%;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/1700x500.jpg);height:0;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"';
+            echo ' style="background-image: url('.get_template_directory_uri().'/assets/lobby.jpg);height:0;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"';
             echo ' class="no-featured"';
     }
     echo '>';