removed sidebar links from the events calendar page
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 4 Jan 2016 20:45:03 +0000 (15:45 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 4 Jan 2016 20:45:03 +0000 (15:45 -0500)
index.php

index f2dce30..cf2d12c 100644 (file)
--- a/index.php
+++ b/index.php
@@ -12,7 +12,7 @@
                 </div>
             </div>
             <div class="row">
-                
+                <?php if(!(is_page(2670))) { ?>
                 <div id="main-content" class="small-12 large-8 columns right">
                         <?php if(have_posts()) : while(have_posts()): the_post();?>
                         <?php the_content();?>
                         <p><?php _e('Sorry, no results found.');?></p>
                         <?php endif;?>
                 </div>
+              
                 <div class="side-links Large-4 show-for-large-up columns">
                     <?php get_sidebar(); ?>
                 </div>
+                <?php } else { ?>
+                <div id="main-content" class="small-12 large-12 columns">
+                    <?php if(have_posts()) : while(have_posts()): the_post();?>
+                    <?php the_content();?>
+                    <?php endwhile; else:?>
+                    <p><?php _e('Sorry, no results found.');?></p>
+                    <?php endif;?>
+                </div>
+                <?php } ?>
 <!--
                 <div class="small-12 medium-6 large-4 columns small-text-center medium-text-left">