コード例 #1
0
ファイル: base.php プロジェクト: BeardandFedora/StacheStack
    }
    ?>
					</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');
?>
コード例 #2
0
ファイル: config.php プロジェクト: BeardandFedora/StacheStack
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);
    }
}