updating a few things
authorIan Weller <ian@gaslightmedia.com>
Fri, 3 Feb 2017 18:52:33 +0000 (13:52 -0500)
committerIan Weller <ian@gaslightmedia.com>
Fri, 3 Feb 2017 18:52:33 +0000 (13:52 -0500)
I updated the screenshot and the default header image to be more
generic.

assets/1500x600.jpg [new file with mode: 0644]
functions.php
screenshot.png

diff --git a/assets/1500x600.jpg b/assets/1500x600.jpg
new file mode 100644 (file)
index 0000000..a57d3fc
Binary files /dev/null and b/assets/1500x600.jpg differ
index 756e760..43a8d50 100644 (file)
@@ -418,7 +418,7 @@ function glm_get_background() {
         $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
         $imageUrl = '<div class="featured-image" style="background: url(\''.$image_data[0].'\') no-repeat scroll 0px 0px / cover;;"></div>';
     } else {
-        $imageUrl = '<div class="featured-image" style="background: url(\''.get_template_directory_uri().'/assets/default.jpg\') no-repeat scroll 0px bottom / cover;;"></div>';
+        $imageUrl = '<div class="featured-image" style="background: url(\''.get_template_directory_uri().'/assets/1500x600.jpg\') no-repeat scroll 0px bottom / cover;;"></div>';
     }
     return $imageUrl;
 }
index be2cb85..2925f78 100644 (file)
Binary files a/screenshot.png and b/screenshot.png differ