From 70c92a321fcac534d3eb170ac5c6832f2555bf10 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 31 Mar 2016 14:38:33 -0400 Subject: [PATCH] fixing syntax error --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 327dca8..9c17f4c 100644 --- a/functions.php +++ b/functions.php @@ -110,7 +110,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(get_post_thumbnail_id($post_id), "full"); $imageUrl = ''; - } elseif(is_single() and is_post_type('ai1ec_event')){ + } elseif(is_single() && is_post_type('ai1ec_event')){ $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(123), "full"); $imageUrl = ''; } -- 2.17.1