twentyGOLEM/sidebar.php

17 lines
397 B
PHP
Raw Normal View History

<?php
/**
* The sidebar containing the main widget area.
*
* If no active widgets in sidebar, let's hide it completely.
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
?>
<?php if ( is_active_sidebar( 1 ) ) : ?>
<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 1 ); ?>
</div><!-- #secondary -->
<?php endif; ?>