fixed conditional for checking page ids and ancestor ids to display the side bar...
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 8 Aug 2016 20:55:12 +0000 (16:55 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 8 Aug 2016 20:55:12 +0000 (16:55 -0400)
index.php

index f451d0d..8d6ab92 100644 (file)
--- a/index.php
+++ b/index.php
@@ -11,7 +11,7 @@
             </div>
  
             <div class="row large-collapse">
-              <?php if ( is_page(154) || is_page(154) || is_in_tree(156) || is_in_tree(156)){ ?>
+              <?php if ( is_page(154) || is_page(156) || is_in_tree(154) || is_in_tree(156)){ ?>
                <div id="side-bar-nav" class="small-4 columns show-for-large-up">
                     <?php get_sidebar(); ?> 
                 </div>