Full event calendar page width
authorLaury GvR <laury@gaslightmedia.com>
Fri, 4 Sep 2015 17:55:08 +0000 (13:55 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 4 Sep 2015 17:55:08 +0000 (13:55 -0400)
page.php

index f6a3bdd..874cb55 100644 (file)
--- a/page.php
+++ b/page.php
@@ -1,8 +1,12 @@
 <?php get_header(); ?>
                 <main>
-                    <div class="row" data-equalizer>
-                    <?php get_sidebar();?>
-                        <div id="content-bulk" class="small-12 large-9 columns" data-equalizer-watch>
+                    <div class="row" data-equalizer>   
+                        <?php if ( is_page('event-calendar') ) { ?>
+                            <div id="content-bulk" class="small-12 columns">
+                        <?php } else { ?>
+                            <?php get_sidebar();?>
+                            <div id="content-bulk" class="small-12 large-9 columns" data-equalizer-watch>
+                        <?php } ?>
                             <div id="con" class="row">
                                 <div class="small-12 columns">
                                     <?php
                                 </div>
                             </footer>
                         </div>
-                        <?php if (get_the_block( 'sidebar' ) != ""
-                                && empty($ninja_forms_append_page_form_id)
-                                && $name != "request-brochures"
-                                && $name != "contact-us"
-                                && $name != "tips-hotline") {
-                            get_template_part('parts/right-sidebar');
-                        } ?>
+                            <?php if (get_the_block( 'sidebar' ) != ""
+                                    && empty($ninja_forms_append_page_form_id)
+                                    && $name != "request-brochures"
+                                    && $name != "contact-us"
+                                    && $name != "tips-hotline") {
+                                get_template_part('parts/right-sidebar');
+                            } ?>
                     </div>
 <?php get_footer(); ?>