Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.1.2
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (20 sloc) 0.786 kb
<?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 Path
* @subpackage Template
* @since 0.1.0
*/
if ( is_active_sidebar( 'primary' ) ) : ?>
<?php do_atomic( 'before_sidebar_primary' ); // path_before_sidebar_primary ?>
<div id="sidebar-primary" class="sidebar">
<?php do_atomic( 'open_sidebar_primary' ); // path_open_sidebar_primary ?>
<?php dynamic_sidebar( 'primary' ); ?>
<?php do_atomic( 'close_sidebar_primary' ); // path_close_sidebar_primary ?>
</div><!-- #sidebar-primary -->
<?php do_atomic( 'after_sidebar_primary' ); // path_after_sidebar_primary ?>
<?php endif; ?>
Jump to Line
Something went wrong with that request. Please try again.