Remove blog sidebar from events
authorLaury GvR <laury@gaslightmedia.com>
Mon, 11 Jan 2016 19:40:43 +0000 (14:40 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 11 Jan 2016 19:40:43 +0000 (14:40 -0500)
single.php

index ab0e4ca..931cb66 100644 (file)
@@ -50,6 +50,8 @@
                 </div><!-- /#post-404 -->
                 <?php endif;?>
             </div>
+            <?php if (get_post_type( $post ) == "ai1ec_event") {
+            } else { ?>
             <div class="small-11 small-only-text-center medium-3 columns">
                 <div id="blog-side-info">
                     <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
@@ -83,6 +85,7 @@
                     </ul>
                 </div>
             </div>
+            <?php } ?>
         </div>
-</main>
+    </main>
     <?php get_footer(); ?>