From 5dfbadc0bd26e9952a23073e5c1776472cc6222a Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 2 Nov 2018 11:28:56 -0400 Subject: [PATCH] fixing the single blog page to also reflect the sidebar changes if the post is of the category epicenter --- parts/blog-sidebar-r.php | 1 - single.php | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/parts/blog-sidebar-r.php b/parts/blog-sidebar-r.php index ae66af1..97a1da8 100644 --- a/parts/blog-sidebar-r.php +++ b/parts/blog-sidebar-r.php @@ -1,7 +1,6 @@ ID); - print_r(get_the_category($post->ID)); ?>
diff --git a/single.php b/single.php index 5a2deea..b861d04 100644 --- a/single.php +++ b/single.php @@ -1,3 +1,8 @@ +ID); +$isEpicenter = has_category(53, $post->ID); +?>
@@ -77,8 +82,10 @@
-- 2.17.1