From: Anthony Talarico Date: Tue, 15 Aug 2017 18:06:35 +0000 (-0400) Subject: adding default featured image to the interior pages X-Git-Tag: v1.0.0^2~29 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=224df26517a88b56b2c9da41f586ef20af9ed80f;p=WP-Themes%2Fbaragacounty.git adding default featured image to the interior pages setting default interior image to the interior pages via the functions file --- diff --git a/assets/default_interior.jpg b/assets/default_interior.jpg new file mode 100644 index 0000000..a302eed Binary files /dev/null and b/assets/default_interior.jpg differ diff --git a/lib/header.php b/lib/header.php index 28ef789..7412da6 100644 --- a/lib/header.php +++ b/lib/header.php @@ -15,7 +15,7 @@ function glm_get_header() { //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: 350px; "'; } else { echo ''; //echo ' style="background-image: url('.get_template_directory_uri().'/assets/header-image.jpg);height:0;padding:0;padding-bottom:30%;background-position: center center;background-size: 100%;background-repeat:no-repeat;max-height: 500px;"';