} ?> </aside><!-- /.sidebar --> <?php } ?> <?php do_action('stachestack_post_main'); ?> <?php if (stachestack_display_secondary_sidebar()) { ?> <aside id="sidebar-secondary" class="sidebar secondary <?php stachestack_section_class('secondary', true); ?> " role="complementary"> <?php dynamic_sidebar('sidebar-secondary'); ?> </aside><!-- /.sidebar --> <?php } ?> <?php echo $ss_framework->clearfix(); ?> <?php echo $ss_framework->close_row('div'); ?>
function stachestack_mp_wrap_div_toggler() { $wrapper = stachestack_section_class('wrapper'); if (!is_null($wrapper) && !empty($wrapper)) { add_action('stachestack_pre_main', 'stachestack_mp_wrap_div_open', 999); add_action('stachestack_post_main', 'stachestack_mp_wrap_div_close', 999); } }