Fix missing sidebar.php

sidebar.php is required by WordPress core since version 3.0.0
This commit is contained in:
Noel Springer 2018-07-07 10:49:07 +10:00
parent dee0292777
commit 4b8bbdd2f7
1 changed files with 17 additions and 0 deletions

17
sidebar.php Normal file
View File

@ -0,0 +1,17 @@
<?php
/**
* The sidebar containing the main widget area.
*
* @package understrap
*/
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 -->