-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar-colophon.php
41 lines (35 loc) · 1.07 KB
/
sidebar-colophon.php
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
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
// Exit if accessed directly
if( !defined( 'ABSPATH' ) ) {
exit;
}
/**
* Colophon Widget Template
*
*
* @file sidebar-colophon.php
* @package Responsive
* @author Emil Uzelac
* @copyright 2003 - 2014 CyberChimps
* @license license.txt
* @version Release: 1.0
* @filesource wp-content/themes/responsive/sidebar-colophon.php
* @link http://codex.wordpress.org/Theme_Development#Widgets_.28sidebar.php.29
* @since available since Release 1.1
*/
?>
<?php
if( !is_active_sidebar( 'colophon-widget' )
) {
return;
}
?>
<?php responsive_widgets_before(); // above widgets container hook ?>
<div id="colophon-widget" class="grid col-940">
<?php responsive_widgets(); // above widgets hook ?>
<?php if( is_active_sidebar( 'colophon-widget' ) ) : ?>
<?php dynamic_sidebar( 'colophon-widget' ); ?>
<?php endif; //end of colophon-widget ?>
<?php responsive_widgets_end(); // after widgets hook ?>
</div><!-- end of #colophon-widget -->
<?php responsive_widgets_after(); // after widgets container hook ?>