wordpress/php-fpm/wordpress_files/themes/hero/sidebar.php
2020-05-22 01:40:23 +00:00

18 lines
400 B
PHP

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