Esempio n. 1
0
function shoestrap_main_class()
{
    if (shoestrap_display_sidebar()) {
        $class = shoestrap_sidebar_class_calc('main');
    } else {
        $class = 'span12';
    }
    return $class;
}
Esempio n. 2
0
" role="complementary">
            <?php 
        do_action('shoestrap_pre_sidebar');
        ?>
            <?php 
        get_template_part('templates/primary-sidebar');
        ?>
            <?php 
        do_action('shoestrap_after_sidebar');
        ?>
          </aside>
        <?php 
    }
    ?>
        <?php 
    if (in_array($layout, array('mps', 'pms', 'smp', 'spm')) && shoestrap_display_sidebar()) {
        ?>
          </div>
        <?php 
    }
    ?>
        <?php 
    if (!in_array($layout, array('m', 'mp', 'pm'))) {
        ?>
          <aside id="secondary" class="<?php 
        echo shoestrap_sidebar_class('secondary');
        ?>
" role="complementary">
            <?php 
        do_action('shoestrap_pre_sidebar');
        ?>