wordpress/php-fpm/wordpress_files/themes/bootstrap-basic4/sidebar.php

21 lines
563 B
PHP
Raw Permalink Normal View History

2020-05-22 03:40:23 +02:00
<?php
/**
* The left sidebar.
*
* @package bootstrap-basic4
*/
global $bootstrapbasic4_sidebar_left_size;
if ($bootstrapbasic4_sidebar_left_size == null || !is_numeric($bootstrapbasic4_sidebar_left_size)) {
$bootstrapbasic4_sidebar_left_size = 3;
}
if (is_active_sidebar('sidebar-left')) {
?>
<div id="sidebar-left" class="col-md-<?php echo $bootstrapbasic4_sidebar_left_size; ?>">
<?php do_action('before_sidebar'); ?>
<?php dynamic_sidebar('sidebar-left'); ?>
</div>
<?php
}