A WordPress theme I used to use on www.chriswiegman.com.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

22 lines
403 B

  1. <?php
  2. /**
  3. * The sidebar containing the main widget area.
  4. *
  5. * @since 5.0.0
  6. *
  7. * @package CW\Theme\Templates\Siebar
  8. *
  9. * @author Chris Wiegman <chris@chriswiegman.com>
  10. */
  11. namespace CW\Theme\Templates\Sidebar;
  12. if ( ! is_active_sidebar( 'sidebar' ) ) {
  13. return;
  14. }
  15. ?>
  16. <div id="secondary" class="widget-area" role="complementary">
  17. <?php dynamic_sidebar( 'sidebar' ); ?>
  18. </div><!-- #secondary -->