moved the members only menu inside of the sidebar content div with the blocks content in
the interior pages
</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">