Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v1.2.1
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (19 sloc) 0.816 kB
<?php
/**
* Secondary Sidebar Template
*
* Displays widgets for the Secondary 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 Cakifo
* @subpackage Template
*/
if ( is_active_sidebar( 'secondary' ) ) : ?>
<?php do_atomic( 'before_sidebar_secondary' ); // cakifo_before_sidebar_secondary ?>
<div id="sidebar-secondary" class="sidebar">
<?php do_atomic( 'open_sidebar_secondary' ); // cakifo_open_sidebar_secondary ?>
<?php dynamic_sidebar( 'secondary' ); ?>
<?php do_atomic( 'close_sidebar_secondary' ); // cakifo_close_sidebar_secondary ?>
</div> <!-- #sidebar-secondary .sidebar -->
<?php do_atomic( 'after_sidebar_secondary' ); // cakifo_after_sidebar_secondary ?>
<?php endif; ?>
Jump to Line
Something went wrong with that request. Please try again.