author | ymh <ymh.work@gmail.com> |
Thu, 07 Nov 2013 00:08:07 +0000 | |
changeset 1 | f6eb5a861d2f |
parent 0 | d970ebf37754 |
child 7 | cf61fcea0001 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* The sidebar containing the main widget area |
|
4 |
* |
|
5 |
* If no active widgets are in the sidebar, hide it completely. |
|
6 |
* |
|
7 |
* @package WordPress |
|
8 |
* @subpackage Twenty_Twelve |
|
9 |
* @since Twenty Twelve 1.0 |
|
10 |
*/ |
|
11 |
?> |
|
12 |
||
13 |
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?> |
|
14 |
<div id="secondary" class="widget-area" role="complementary"> |
|
15 |
<?php dynamic_sidebar( 'sidebar-1' ); ?> |
|
16 |
</div><!-- #secondary --> |
|
17 |
<?php endif; ?> |