From: Laury GvR Date: Wed, 15 Feb 2017 14:21:21 +0000 (-0500) Subject: Pages under Day Trip have default featured image X-Git-Tag: v1.0.0^2~8 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e378a4c0bf528269ea9e71f2a4c11d8574e62cb3;p=WP-Themes%2Fmackinawareavb.git Pages under Day Trip have default featured image Any page under the Day Trip navigation item (page id 116) will now be showing the default featured image instead of the one assigned to them. --- diff --git a/functions.php b/functions.php index 7f9da34..78d3e81 100644 --- a/functions.php +++ b/functions.php @@ -78,8 +78,8 @@ function glm_site_scripts() /* Header for posts*/ function glm_get_header() { echo 'ID ) !== 116)) { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full"); echo ' style="background-image: url('.$image_data[0].');padding:0;padding-bottom:25%;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height:450px;margin:0 auto;height:100%; "'; } else {