<?php
global $post;
$categories = get_the_category($post->ID);
- print_r(get_the_category($post->ID));
?>
<div id="blog-side-info-wrapper" class="small-11 small-only-text-center medium-4 columns">
<div id="blog-side-info">
+<?php
+global $post;
+$categories = get_the_category($post->ID);
+$isEpicenter = has_category(53, $post->ID);
+?>
<?php get_header(); ?>
<main class="blog-single">
<div id="head-img">
<?php endif;?>
</div>
<?php
- if (is_single() && !is_post_type('ai1ec_event')){
+ if (is_single() && !is_post_type('ai1ec_event') && !$isEpicenter){
get_template_part('parts/blog-sidebar-r');
+ }else{
+ get_template_part('parts/blog-sidebar-rss');
}
?>
<?php get_template_part('parts/interior-footer'); ?>