예제 #1
0
<?php

/**
* Maybe show the left sidebar
*/
$sidebar_class = apply_filters('layers_left_sidebar_class', array('column', 'pull-left', 'sidebar', layers_can_show_sidebar('right-sidebar') ? 'span-3' : 'span-4'));
layers_maybe_get_sidebar('left-sidebar', implode(' ', $sidebar_class));
예제 #2
0
        ?>
                            <?php 
        woocommerce_get_template_part('content', 'product');
        ?>
                    <?php 
    }
    ?>
                </ul>

                <?php 
    layers_pagination();
    ?>

                <?php 
    woocommerce_product_loop_end();
    ?>

            </section>
        <?php 
}
?>

        <?php 
/**
 * Maybe show the right sidebar
 */
layers_maybe_get_sidebar('right-woocommerce-sidebar', implode(' ', layers_get_wrapper_class('right_woocommerce_sidebar', 'column pull-right sidebar span-3 no-gutter')));
?>
</section>
<?php 
get_footer();
예제 #3
0
<?php

/**
* Maybe show the right sidebar
*/
$sidebar_class = layers_can_show_sidebar('left-sidebar') ? 'span-3' : 'span-4';
layers_maybe_get_sidebar('right-sidebar', 'column pull-right sidebar no-gutter ' . $sidebar_class);
        ?>
                            <?php 
        woocommerce_get_template_part('content', 'product');
        ?>
                    <?php 
    }
    ?>
                </ul>

                <?php 
    layers_pagination();
    ?>

                <?php 
    woocommerce_product_loop_end();
    ?>

            </section>
        <?php 
}
?>

        <?php 
/**
 * Maybe show the right sidebar
 */
layers_maybe_get_sidebar('right-woocommerce-sidebar', 'column pull-right sidebar span-3 no-gutter');
?>
</section>
<?php 
get_footer();
예제 #5
0
<?php

/**
* Maybe show the left sidebar
*/
$sidebar_class = layers_can_show_sidebar('right-sidebar') ? 'span-3' : 'span-4';
layers_maybe_get_sidebar('left-sidebar', 'column pull-left sidebar ' . $sidebar_class);