From: Laury GvR Date: Tue, 9 Feb 2016 20:38:28 +0000 (-0500) Subject: Removed old featured function grabbing on all pages. X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=0322d44e6c055ab7fc1822f49df5c045002e97a8;p=WP-Themes%2Fglmthemes%2Fsaultstemarie-theme.git Removed old featured function grabbing on all pages. --- diff --git a/functions.php b/functions.php index acea239..092d849 100644 --- a/functions.php +++ b/functions.php @@ -79,26 +79,26 @@ function glm_site_scripts() /* Header for posts*/ -function glm_get_header() { - global $post; - $post_id = $post->ID; - echo ''; - echo ''; -} +//function glm_get_header() { +// global $post; +// $post_id = $post->ID; +// echo ''; +// echo ''; +//} function glm_get_featured() { if (has_post_thumbnail()) { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full"); @@ -108,17 +108,6 @@ function glm_get_featured() { } return $imageUrl; } -// // The code below is useful when you want the image to resize to -// if (has_post_thumbnail()) { -// $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full"); -// echo ''; -// } else { -// echo ''; -// } -// echo '
'; -// echo '
'; -// echo '
'; -// echo '
'; add_action('wp_enqueue_scripts', 'glm_site_scripts'); diff --git a/home.php b/home.php index 973b7a0..c7cde60 100644 --- a/home.php +++ b/home.php @@ -1,5 +1,7 @@ - +
- diff --git a/search.php b/search.php index f0f4d20..6c69d82 100644 --- a/search.php +++ b/search.php @@ -1,5 +1,7 @@ - +
diff --git a/single.php b/single.php index 67e37d8..17e2231 100644 --- a/single.php +++ b/single.php @@ -1,5 +1,7 @@ - +