-
Notifications
You must be signed in to change notification settings - Fork 156
/
sidebar.php
41 lines (32 loc) · 1016 Bytes
/
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
39
40
41
<?php
/**
* The sidebar containing the main widget area
*
* @package _tk
*/
?>
</div><!-- close .main-content-inner -->
<div class="sidebar col-sm-12 col-md-4">
<?php // add the class "panel" below here to wrap the sidebar in Bootstrap style ;) ?>
<div class="sidebar-padder">
<?php do_action( 'before_sidebar' ); ?>
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
<aside id="search" class="widget widget_search">
<?php get_search_form(); ?>
</aside>
<aside id="archives" class="widget widget_archive">
<h3 class="widget-title"><?php _e( 'Archives', '_tk' ); ?></h3>
<ul>
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</ul>
</aside>
<aside id="meta" class="widget widget_meta">
<h3 class="widget-title"><?php _e( 'Meta', '_tk' ); ?></h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</aside>
<?php endif; ?>
</div><!-- close .sidebar-padder -->