Permalink
Newer
Older
100644 28 lines (19 sloc) 851 Bytes
1
<?php
2
/**
3
* Secondary Sidebar Template
4
*
5
* Displays widgets for the Secondary dynamic sidebar if any have been added to the sidebar through the
6
* widgets screen in the admin by the user. Otherwise, nothing is displayed.
7
*
May 23, 2011
8
* @package Trending
9
* @subpackage Template
10
*/
11
12
if ( is_active_sidebar( 'secondary' ) ) : ?>
13
May 23, 2011
14
<?php do_atomic( 'before_sidebar_secondary' ); // trending_before_sidebar_secondary ?>
15
16
<div id="sidebar-secondary" class="sidebar">
17
May 23, 2011
18
<?php do_atomic( 'open_sidebar_secondary' ); // trending_open_sidebar_secondary ?>
19
20
<?php dynamic_sidebar( 'secondary' ); ?>
21
May 23, 2011
22
<?php do_atomic( 'close_sidebar_secondary' ); // trending_close_sidebar_secondary ?>
23
24
</div><!-- #sidebar-secondary .aside -->
25
May 23, 2011
26
<?php do_atomic( 'after_sidebar_secondary' ); // trending_after_sidebar_secondary ?>
27
28
<?php endif; ?>