mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-17 16:15:24 +01:00
4a9b21226c
Built from https://develop.svn.wordpress.org/trunk@25521 git-svn-id: http://core.svn.wordpress.org/trunk@25441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
17 lines
418 B
PHP
17 lines
418 B
PHP
<?php
|
|
/**
|
|
* The sidebar containing the main widget area
|
|
*
|
|
* If no active widgets are in the 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 -->
|
|
<?php endif; ?>
|