Permalink
Cannot retrieve contributors at this time
Fetching contributors…

<?php | |
/** | |
* Primary Sidebar Template | |
* | |
* Displays widgets for the Primary dynamic sidebar if any have been added to the sidebar through the | |
* widgets screen in the admin by the user. Otherwise, nothing is displayed. | |
* | |
* @package MyLife | |
* @subpackage Template | |
* @since 0.1.0 | |
* @author Justin Tadlock <justin@justintadlock.com> | |
* @copyright Copyright (c) 2011 - 2013, Justin Tadlock | |
* @link http://themehybrid.com/themes/my-life | |
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
*/ | |
if ( is_active_sidebar( 'primary' ) ) : ?> | |
<?php do_atomic( 'before_sidebar_primary' ); // my-life_before_sidebar_primary ?> | |
<div id="sidebar-primary" class="sidebar"> | |
<?php do_atomic( 'open_sidebar_primary' ); // my-life_open_sidebar_primary ?> | |
<?php dynamic_sidebar( 'primary' ); ?> | |
<?php do_atomic( 'close_sidebar_primary' ); // my-life_close_sidebar_primary ?> | |
</div><!-- #sidebar-primary .aside --> | |
<?php do_atomic( 'after_sidebar_primary' ); // my-life_after_sidebar_primary ?> | |
<?php endif; ?> |