From 6ce65bb8c3bfa8995db52c1229a19d990e22ad11 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 10 Feb 2016 10:57:40 -0500 Subject: [PATCH] Place back the get_thumbnail_id function --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index c4696b0..f380415 100644 --- a/functions.php +++ b/functions.php @@ -108,7 +108,7 @@ 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($post_id, "full"); + $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post_id), "full"); $imageUrl = ''; } else { $imageUrl = ''; -- 2.17.1