/Web/wp-content/themes/responsive/sidebar-colophon.php
PHP | 36 lines | 15 code | 6 blank | 15 comment | 3 complexity | 96d5a74dbd87c24cb76ba77a37fd33fe MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
1<?php 2 3// Exit if accessed directly 4if ( !defined('ABSPATH')) exit; 5 6/** 7 * Colophon Widget Template 8 * 9 * 10 * @file sidebar-colophon.php 11 * @package Responsive 12 * @author Emil Uzelac 13 * @copyright 2003 - 2012 ThemeID 14 * @license license.txt 15 * @version Release: 1.0 16 * @filesource wp-content/themes/responsive/sidebar-colophon.php 17 * @link http://codex.wordpress.org/Theme_Development#Widgets_.28sidebar.php.29 18 * @since available since Release 1.0 19 */ 20?> 21 <?php 22 if (! is_active_sidebar('colophon-widget') 23 ) 24 return; 25 ?> 26 <div id="widgets" class="grid col-940"> 27 <?php responsive_widgets(); // above widgets hook ?> 28 29 <?php if (is_active_sidebar('colophon-widget')) : ?> 30 31 <?php dynamic_sidebar('colophon-widget'); ?> 32 33 <?php endif; //end of colophon-widget ?> 34 35 <?php responsive_widgets_end(); // after widgets hook ?> 36 </div><!-- end of #widgets -->