From 1778577e7d5c4f14f99d6bcef3500e9e433a810b Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Fri, 26 Jan 2018 12:27:26 -0500 Subject: [PATCH] Added a default feature image I added a default feature image to the theme. It's the image we had in the header. --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 321b623..eeec168 100644 --- a/functions.php +++ b/functions.php @@ -93,7 +93,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:290px;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/default-header.gif);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/Arrive-over-Terminal_v2.jpg);height:0;padding:0;padding-bottom:290px;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"'; echo ' class="no-featured"'; } echo '>'; -- 2.17.1