mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-14 23:21:07 +01:00
24 lines
571 B
PHP
24 lines
571 B
PHP
<?php
|
|
/**
|
|
* The sidebar containing the main widget area.
|
|
*
|
|
* @package understrap
|
|
*/
|
|
|
|
if ( ! is_active_sidebar( 'left-sidebar' ) ) {
|
|
return;
|
|
}
|
|
|
|
// when both sidebars turned on reduce col size to 3 from 4.
|
|
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
|
?>
|
|
|
|
<?php if ( 'both' === $sidebar_pos ) : ?>
|
|
<div class="col-md-3 widget-area" id="left-sidebar" role="complementary">
|
|
<?php else : ?>
|
|
<div class="col-md-4 widget-area" id="left-sidebar" role="complementary">
|
|
<?php endif; ?>
|
|
<?php dynamic_sidebar( 'left-sidebar' ); ?>
|
|
|
|
</div><!-- #secondary -->
|