Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (24 sloc) 1.088 kb
2aa8890 Importing the initial My Life theme files and folders.
greenshady authored
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 *
8 * @package MyLife
9 * @subpackage Template
10 * @since 0.1.0
11 * @author Justin Tadlock <justin@justintadlock.com>
877f5cf Justin Tadlock Update copyright and theme info.
authored
12 * @copyright Copyright (c) 2011 - 2012, Justin Tadlock
2aa8890 Importing the initial My Life theme files and folders.
greenshady authored
13 * @link http://themehybrid.com/themes/my-life
14 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
15 */
16
17 if ( is_active_sidebar( 'secondary' ) ) : ?>
18
19 <?php do_atomic( 'before_sidebar_secondary' ); // my-life_before_sidebar_secondary ?>
20
21 <div id="sidebar-secondary" class="sidebar">
22
23 <?php do_atomic( 'open_sidebar_secondary' ); // my-life_open_sidebar_secondary ?>
24
25 <?php dynamic_sidebar( 'secondary' ); ?>
26
27 <?php do_atomic( 'close_sidebar_secondary' ); // my-life_close_sidebar_secondary ?>
28
29 </div><!-- #sidebar-secondary .aside -->
30
31 <?php do_atomic( 'after_sidebar_secondary' ); // my-life_after_sidebar_secondary ?>
32
33 <?php endif; ?>
Something went wrong with that request. Please try again.