From e378a4c0bf528269ea9e71f2a4c11d8574e62cb3 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 15 Feb 2017 09:21:21 -0500 Subject: [PATCH] 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. --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.17.1