wordpress/php-fpm/wordpress_files/themes/hero/sidebar.php

18 lines
400 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?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 -->