-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar-left.php
40 lines (34 loc) · 1.17 KB
/
sidebar-left.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
38
39
40
<?php
// Exit if accessed directly
if( !defined( 'ABSPATH' ) ) {
exit;
}
/**
* Main Widget Template
*
*
* @file sidebar-left.php
* @package Responsive
* @author Emil Uzelac
* @copyright 2003 - 2014 CyberChimps
* @license license.txt
* @version Release: 1.0
* @filesource wp-content/themes/responsive/sidebar-left.php
* @link http://codex.wordpress.org/Theme_Development#Widgets_.28sidebar.php.29
* @since available since Release 1.0
*/
?>
<?php responsive_widgets_before(); // above widgets container hook ?>
<div id="widgets" class="grid-right col-300 rtl-fit">
<?php responsive_widgets(); // above widgets hook ?>
<?php if( !dynamic_sidebar( 'left-sidebar' ) ) : ?>
<div class="widget-wrapper">
<div class="widget-title"><h3><?php _e( 'In Archive', 'responsive' ); ?></h3></div>
<ul>
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</ul>
</div><!-- end of .widget-wrapper -->
<?php endif; //end of right-left ?>
<?php responsive_widgets_end(); // after widgets hook ?>
</div><!-- end of #widgets -->
<?php responsive_widgets_after(); // after widgets container hook ?>