-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsidebar-top.php
37 lines (32 loc) · 1.02 KB
/
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
37
<?php
/**
* Gallery Sidebar
*
* Displays on the image page after clicking on a gallery image
*
* @package responsive_mobile
* @license license.txt
* @copyright 2014 CyberChimps Inc
* @since 0.0.1
*
* Please do not edit this file. This file is part of the responsive_mobile Framework and all modifications
* should be made in a child theme.
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/*
* If the sidebar is empty, exit
*/
if ( ! is_active_sidebar( 'top-widget' ) ) {
return;
}
?>
<?php responsive_mobile_widgets_before(); // above widgets container hook ?>
<div id="top-widget" class="top-widget" role="complementary" itemscope="itemscope" itemtype="http://schema.org/WPSideBar">
<?php responsive_mobile_widgets(); // above widgets hook ?>
<?php dynamic_sidebar( 'top-widget' ); ?>
<?php responsive_mobile_widgets_end(); // after widgets hook ?>
</div><!-- end of #top-widget -->
<?php responsive_mobile_widgets_after(); // after widgets container hook ?>