This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/sidebar.php

22 lines
361 B
PHP
Raw Normal View History

<?php
/**
* The sidebar containing the main widget area.
*
* @package understrap
*/
2018-09-10 21:59:04 +00:00
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
return;
}
?>
<div class="col-md-4 widget-area" id="secondary" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary -->