Replaced the default featured image
authorLaury GvR <laury@gaslightmedia.com>
Tue, 5 Dec 2017 14:23:29 +0000 (09:23 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 5 Dec 2017 14:23:29 +0000 (09:23 -0500)
assets/default-header-winter.jpg [new file with mode: 0644]
functions.php

diff --git a/assets/default-header-winter.jpg b/assets/default-header-winter.jpg
new file mode 100644 (file)
index 0000000..45eaf02
Binary files /dev/null and b/assets/default-header-winter.jpg differ
index 7fb5f80..cbc44c7 100644 (file)
@@ -122,7 +122,7 @@ function glm_get_header() {
             echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:30%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px; "';
                 echo ' class="featured-image no-featured"';
         } else {
-                echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.jpg);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/default-header-winter.jpg);height:0;padding:0;padding-bottom:30%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"';
                 echo ' class="featured-image no-featured"';
         }
         echo '>';