Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (17 sloc) 0.624 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?php
/**
* Primary Sidebar Template
*
* The Primary sidebar template houses the HTML used for the 'Primary' sidebar.
* It will first check if the sidebar is active before displaying anything.
*
* @package News
* @subpackage Template
*/

if ( is_active_sidebar( 'primary' ) ) : ?>

<div id="sidebar-primary" class="sidebar aside">

<?php do_atomic( 'before_sidebar_primary' ); // Before primary sidebar hook ?>

<?php dynamic_sidebar( 'primary' ); ?>

<?php do_atomic( 'after_sidebar_primary' ); // After primary sidebar hook ?>

</div><!-- #sidebar-primary .aside -->

<?php endif; ?>
Something went wrong with that request. Please try again.