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

21 lines
572 B
PHP
Raw Normal View History

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