-
Notifications
You must be signed in to change notification settings - Fork 1
/
sidebar.php
38 lines (32 loc) · 1.16 KB
/
sidebar.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
<?php
/**
* Main Widget Template
*
*
* @file sidebar.php
* @package StrapPress
* @author Brad Williams
* @copyright 2011 - 2012 Brag Interactive
* @license license.txt
* @version Release: 1.0
* @filesource wp-content/themes/responsive/sidebar.php
* @link http://codex.wordpress.org/Theme_Development#Widgets_.28sidebar.php.29
* @since available since Release 1.0
*/
?>
<div id="widgets" class="grid col-300 fit">
<?php responsive_widgets(); // above widgets hook ?>
<?php if (!dynamic_sidebar('main-sidebar')) : ?>
<div class="widget-title"><?php _e('In Archive', 'responsive'); ?></div>
<ul>
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</ul>
<div class="widget-title"><?php _e('My Account', 'responsive'); ?></div>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
<?php endif; //end of main-sidebar ?>
<?php responsive_widgets_end(); // after widgets hook ?>
</div><!-- end of #widgets -->