mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 18:48:57 +01:00
741876a148
props drewstrojny, lancewillett. also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields, mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka. see #19978. git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
17 lines
449 B
PHP
17 lines
449 B
PHP
<?php
|
|
/**
|
|
* The Sidebar containing the homepage widget area.
|
|
*
|
|
* If no active widgets in this sidebar, it will be hidden completely.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twelve
|
|
* @since Twenty Twelve 1.0
|
|
*/
|
|
?>
|
|
|
|
<?php if ( is_active_sidebar( 'sidebar-home' ) ) : ?>
|
|
<div id="secondary" class="widget-area" role="complementary">
|
|
<?php dynamic_sidebar( 'sidebar-home' ); ?>
|
|
</div><!-- #secondary .widget-area -->
|
|
<?php endif; ?>
|