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.
_s/sidebar.php

18 lines
366 B
PHP
Raw Normal View History

2012-01-07 03:25:13 +00:00
<?php
/**
* The sidebar containing the main widget area.
2012-01-07 03:25:13 +00:00
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
2012-01-07 03:25:13 +00:00
* @package _s
*/
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
return;
}
2012-01-07 03:25:13 +00:00
?>
<aside id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- #secondary -->