</div> <?php } ?> </div> <?php if ($sidebar !== 'no-sidebar') { ?> <!-- Right Sidebar --> <div class="span3"> <?php ep_get_sidebar('main-sidebar'); ?> </div> <?php } ?> </div> </div> </div> </section> <!-- End Blog -->
<div class="<?php echo esc_attr($contentClass); ?> "> <?php woocommerce_content(); ?> </div> <!-- Sidebar --> <div class="<?php echo esc_attr($sidebarContainerClass); ?> "><?php ep_get_sidebar('woocommerce-sidebar'); ?> </div> <?php } } ?> </div> <?php } ?> <!-- End has Sidebar --> </div>
} ?> <!--Content--> <div class="main-content" id="main-content"> <div id="blogSingle" class="wrap singlePost"> <div class="container"> <div class="row"> <div class="span12"> <h2><?php echo esc_attr($pageTitle); ?> </h2> <?php get_template_part('templates/loop', 'search'); ep_get_pagination(); ?> </div> <div class="span3 offset1"> <?php ep_get_sidebar(); ?> </div> </div> </div> </div> </div> <?php get_footer();
?> <div class="pageHasSidebar container pageBottomSpace"> <div class="row"> <div class="<?php echo esc_attr($contentClass); ?> "><?php get_template_part('templates/loop-page'); ?> </div> <div class="<?php echo esc_attr($sidebarContainerClass); ?> "><?php ep_get_sidebar($sidebar); ?> </div> </div> </div> <?php } } else { if (get_post_meta($post_id, "page-type-switch", true) == "blog-section") { ?> <?php get_template_part('templates/loop-page'); ?>