Skip to content
This repository
tag: v1.0
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (19 sloc) 0.814 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 25 26 27 28
<?php
/**
* Subsidiary Sidebar Template
*
* Displays widgets for the Subsidiary (footer) 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( 'subsidiary' ) ) : ?>

<?php do_atomic( 'before_sidebar_subsidiary' ); // cakifo_before_sidebar_subsidiary ?>

<div id="sidebar-subsidiary">

<?php do_atomic( 'open_sidebar_subsidiary' ); // cakifo_open_sidebar_subsidiary ?>

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

<?php do_atomic( 'close_sidebar_subsidiary' ); // cakifo_close_sidebar_subsidiary ?>

</div> <!-- #sidebar-subsidiary-->

<?php do_atomic( 'after_sidebar_subsidiary' ); // cakifo_after_sidebar_subsidiary ?>

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