From: Ian Weller Date: Thu, 12 Jan 2017 21:40:31 +0000 (-0500) Subject: removed more Ste Marie specific items X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=60bc64a47233512d74a8f4f376eadbacedb21847;p=WP-Themes%2Fglmthemes%2Fsaultstemarie-theme.git removed more Ste Marie specific items I commented out the default feature image --- 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(); ?> - - + -