From 60bc64a47233512d74a8f4f376eadbacedb21847 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Thu, 12 Jan 2017 16:40:31 -0500 Subject: [PATCH] removed more Ste Marie specific items I commented out the default feature image --- functions.php | 16 ++++++++-------- header.php | 4 +--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/functions.php b/functions.php index dc50e6d..a8603e3 100644 --- a/functions.php +++ b/functions.php @@ -165,14 +165,14 @@ function glm_get_featured() { if (has_post_thumbnail($post_id) && (!(is_home()) ) && (!(is_single())) && (!(is_archive())) && (!(is_search()))) { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post_id), "full"); $imageUrl = ''; - } elseif(is_single() && is_post_type('ai1ec_event')){ - $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(123), "full"); - $imageUrl = ''; - } elseif(is_post_type('post')) { - $imageUrl = ''; - } - else { - $imageUrl = ''; +// } elseif(is_single() && is_post_type('ai1ec_event')){ +// $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(123), "full"); +// $imageUrl = ''; +// } elseif(is_post_type('post')) { +// $imageUrl = ''; +// } +// else { +// $imageUrl = ''; } return $imageUrl; } diff --git a/header.php b/header.php index d0feae3..4ce6824 100644 --- a/header.php +++ b/header.php @@ -5,10 +5,8 @@ <?php wp_title(); ?> - - + -