fixing missing div tag
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 30 May 2018 15:26:00 +0000 (11:26 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 30 May 2018 15:26:00 +0000 (11:26 -0400)
div tag from interior page was deleted during an edit, replaced

sections/interior-page.php

index 3c191da..43c6724 100644 (file)
@@ -1,28 +1,9 @@
 <main class="page-inside">
     <div id="content-wrapper">
         <div class="row">
-        <?php if (get_page_template_slug( $post->ID ) === "no-sidebars.php") {  ?>
-            <div class="small-12 columns">
-                <!-- interior page without sidebars -->
-                <?php if(function_exists('bcn_display') && !is_front_page())
-                {
-                    echo "<div class=\"breadcrumbs small-12 columns\">";
-                    echo '<span class="st_sharethis" st_title="'. get_the_title().'" st_url="'. get_the_permalink() .'"></span>'; 
-                    bcn_display();
-                    echo "</div>";
-                }?>
-                <?php get_template_part('parts/main-content');?>
-            </div>
-            <?php } else { ?>
-                <!-- interior page with sidebars -->
-                <div id="side-nav" class="medium-4 large-3 columns show-for-medium-up">
-                    <?php glm_side_menu(); ?>
-                </div>
-                <?php if(get_field('sidebar')){ ?>
-                    <div class="columns small-12 medium-6 columns">
-                <?php } else { ?>
-                    <div class="small-12 medium-8 large-9 columns">
-                 <?php } ?>
+            <?php if (get_page_template_slug( $post->ID ) === "no-sidebars.php") {  ?>
+                <div class="small-12 columns">
+                    <!-- interior page without sidebars -->
                     <?php if(function_exists('bcn_display') && !is_front_page())
                     {
                         echo "<div class=\"breadcrumbs small-12 columns\">";
                     }?>
                     <?php get_template_part('parts/main-content');?>
                 </div>
-                <?php if(get_field('sidebar')){ ?>
-                    <div id="contact" class="large-3 columns show-for-large-up">
-                        <p><?php echo the_field('sidebar'); ?></p>
+                <?php } else { ?>
+                    <!-- interior page with sidebars -->
+                    <div id="side-nav" class="medium-4 large-3 columns show-for-medium-up">
+                        <?php glm_side_menu(); ?>
+                    </div>
+                    <?php if(get_field('sidebar')){ ?>
+                        <div class="columns small-12 medium-6 columns">
+                    <?php } else { ?>
+                        <div class="small-12 medium-8 large-9 columns">
+                    <?php } ?>
+                        <?php if(function_exists('bcn_display') && !is_front_page())
+                        {
+                            echo "<div class=\"breadcrumbs small-12 columns\">";
+                            echo '<span class="st_sharethis" st_title="'. get_the_title().'" st_url="'. get_the_permalink() .'"></span>'; 
+                            bcn_display();
+                            echo "</div>";
+                        }?>
+                        <?php get_template_part('parts/main-content');?>
                     </div>
+                    <?php if(get_field('sidebar')){ ?>
+                        <div id="contact" class="large-3 columns show-for-large-up">
+                            <p><?php echo the_field('sidebar'); ?></p>
+                        </div>
+                    <?php } ?>
                 <?php } ?>
-            <?php } ?>
+        </div>
     </div>
 </main>
\ No newline at end of file