4cc47e2034
props drewstrojny, lancewillett. also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields, mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka. see #19978. git-svn-id: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
17 lines
424 B
PHP
17 lines
424 B
PHP
<?php
|
|
/**
|
|
* The Sidebar containing the main widget area.
|
|
*
|
|
* If no active widgets in sidebar, hide it completely.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twelve
|
|
* @since Twenty Twelve 1.0
|
|
*/
|
|
?>
|
|
|
|
<?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; ?>
|