Fix single page for events
authorLaury GvR <laury@gaslightmedia.com>
Fri, 22 Jan 2016 15:34:43 +0000 (10:34 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 22 Jan 2016 15:34:43 +0000 (10:34 -0500)
single.php

index 532e98a..bc637a5 100644 (file)
@@ -1,5 +1,6 @@
 <?php get_header(); ?>
 <?php glm_get_header(); ?>
+<?php if (!is_post_type("ai1ec_event")) { ?>
 <div id="crumb-line">
     <div class="row">
         <?php
@@ -7,14 +8,11 @@
         ?>
     </div>
 </div>
+<?php } ?>
 <main class="blog-single">
     <div class="row">
-        <?php if (get_post_type( $post ) == "ai1ec_event") { ?>
+        <?php if (!is_post_type("ai1ec_event")) { ?>
         <div id="blog-posts-over" class="ai1ec-post small-12 medium-10 medium-centered columns">
-
-        <?php
-        get_template_part('parts/bread-crumbs');
-        ?>
         <?php } else { ?>
         <div id="blog-posts-over" class="small-12 medium-9 columns">
         <?php } ?>