wordpress/php-fpm/wordpress_files/themes/hive-lite/sidebar.php

18 lines
355 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?php
/**
* The sidebar containing the main widget area.
* @package Hive Lite
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
if( ! is_active_sidebar( 'sidebar-1' ) ) {
return;
} ?>
<div id="secondary" class="sidebar sidebar--main" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary -->