From: Laury GvR Date: Tue, 5 Dec 2017 14:23:29 +0000 (-0500) Subject: Replaced the default featured image X-Git-Tag: v1.0.10^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=61f35bf273a9c74ae4f3bf9dcb68ddc6abf061dc;p=WP-Themes%2Fkeweenaw2017.git Replaced the default featured image --- diff --git a/assets/default-header-winter.jpg b/assets/default-header-winter.jpg new file mode 100644 index 0000000..45eaf02 Binary files /dev/null and b/assets/default-header-winter.jpg differ diff --git a/functions.php b/functions.php index 7fb5f80..cbc44c7 100644 --- a/functions.php +++ b/functions.php @@ -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 '>';