From: Ian Weller Date: Fri, 7 Jul 2017 20:29:07 +0000 (-0400) Subject: I added a new default image X-Git-Tag: v1.0.0^2~41 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=8089e06c86749ae62f04e0358c7098d5fa2bf7f5;p=WP-Themes%2Ftroutcreek.git I added a new default image I updated the default image with something they had on 5WebClients and placed it as the new default image. --- diff --git a/assets/lobby.jpg b/assets/lobby.jpg new file mode 100644 index 0000000..836a5d8 Binary files /dev/null and b/assets/lobby.jpg differ diff --git a/functions.php b/functions.php index decdf15..a01e395 100644 --- a/functions.php +++ b/functions.php @@ -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 '>';