wordpress/php-fpm/wordpress_files/themes/responsive/sidebar-colophon.php

38 lines
1.1 KiB
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?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. ?>