themes-wordpress/altofocus/sidebar.php

20 lines
395 B
PHP
Raw Permalink Normal View History

2018-02-27 02:57:00 +00:00
<?php
/**
* The sidebar containing the main widget area.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package AltoFocus
*/
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
return;
}
?>
<aside id="secondary" class="widget-area" role="complementary">
<div class="widget-area-wrap">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div>
</aside>