2012-02-06 23:23:41 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The Sidebar containing the main widget area.
|
|
|
|
*
|
2012-02-14 04:54:46 +01:00
|
|
|
* If no active widgets in sidebar, hide it completely.
|
|
|
|
*
|
2012-02-06 23:23:41 +01:00
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Twelve
|
|
|
|
* @since Twenty Twelve 1.0
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2012-02-14 04:54:46 +01:00
|
|
|
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
|
|
|
<div id="secondary" class="widget-area" role="complementary">
|
|
|
|
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
|
|
|
</div><!-- #secondary .widget-area -->
|
|
|
|
<?php endif; ?>
|