changing the position of the members only menu
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 25 May 2017 16:54:16 +0000 (12:54 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 25 May 2017 16:54:16 +0000 (12:54 -0400)
moved the members only menu inside of the sidebar content div with the blocks content in
the interior pages

sections/interior-page.php

index 8ae44e7..bf907f3 100644 (file)
@@ -23,9 +23,7 @@
 
                                         </div>
                                     </div>
-                                    <div id="sidebar" class="small-12 medium-5 medium-pull-7 large-4 large-pull-8 columns small-text-center" data-equalizer-watch>
-                                        <?php get_sidebar(); ?>
-                                    </div>
+                                    
                                 <?php } else { ?>
                                 <div class="small-12 large-push-4 large-8 columns">
                                     <?php if(function_exists('bcn_display') && !is_front_page())
                                         <?php get_template_part('parts/main-content');?>
                                 </div>
                                 <?php } ?>
+                                
                                 <div id="side-content" class=" text-center small-12 large-pull-8 large-4 columns large-text-left">
+                                   <?php if (get_page_template_slug( $post->ID ) === "members-only-template.php") {  ?>
+                                   <div id="sidebar" class="small-12" data-equalizer-watch>
+                                        <?php get_sidebar(); ?>
+                                    </div>
+                                   <?php } ?>
                                     <div id="news-blocks">
                                         <img id="news-img" src="<?php echo esc_url( get_template_directory_uri() );?>/assets/community-foundation-news.png">