From: Anthony Talarico Date: Fri, 2 Nov 2018 15:28:56 +0000 (-0400) Subject: fixing the single blog page to also reflect the sidebar changes if the post is of... X-Git-Tag: 1.2.40^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=5dfbadc0bd26e9952a23073e5c1776472cc6222a;p=WP-Themes%2Fmountpleasantwow.git fixing the single blog page to also reflect the sidebar changes if the post is of the category epicenter --- 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 @@