Wordpress/wp-content/themes/twentytwelve/sidebar-home.php

17 lines
449 B
PHP
Raw Normal View History

<?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; ?>