-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar-top.php
36 lines (30 loc) · 992 Bytes
/
sidebar-top.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
<?php
// Exit if accessed directly
if ( !defined('ABSPATH')) exit;
/**
* Top Widget Template
*
*
* @file sidebar-top.php
* @package Responsive
* @author Emil Uzelac
* @copyright 2003 - 2012 ThemeID
* @license license.txt
* @version Release: 1.0
* @filesource wp-content/themes/responsive/sidebar-top.php
* @link http://codex.wordpress.org/Theme_Development#Widgets_.28sidebar.php.29
* @since available since Release 1.0
*/
?>
<?php
if (! is_active_sidebar('top-widget')
)
return;
?>
<div id="top-widget" class="top-widget">
<?php responsive_widgets(); // above widgets hook ?>
<?php if (is_active_sidebar('top-widget')) : ?>
<?php dynamic_sidebar('top-widget'); ?>
<?php endif; //end of top-widget ?>
<?php responsive_widgets_end(); // after widgets hook ?>
</div><!-- end of #top-widget -->