Browse Source

Revert "Remove existing sidebar code"

This reverts commit 63b445d25c.
develop
Chris Wiegman 3 years ago
parent
commit
4be0b8c3e3
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      sidebar.php

+ 21
- 0
sidebar.php View File

@ -0,0 +1,21 @@
<?php
/**
* The sidebar containing the main widget area.
*
* @since 5.0.0
*
* @package CW\Theme\Templates\Siebar
*
* @author Chris Wiegman <chris@chriswiegman.com>
*/
namespace CW\Theme\Templates\Sidebar;
if ( ! is_active_sidebar( 'sidebar' ) ) {
return;
}
?>
<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar' ); ?>
</div><!-- #secondary -->