added condition to test for ai1ec post type
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 4 Jan 2016 19:01:38 +0000 (14:01 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 4 Jan 2016 19:01:38 +0000 (14:01 -0500)
single.php

index c6533c5..e1c719b 100644 (file)
@@ -70,6 +70,8 @@
                 </div><!-- /#post-404 -->
                 <?php endif;?>
             </div>
+            <?php if (get_post_type( $post ) != "ai1ec_event") { ?>
             <?php get_template_part('parts/blog-sidebar-r'); ?>
+            <?php } ?>
         </div>
         <?php get_footer(); ?>