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