Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 40 lines (35 sloc) 1.113 kB
edfeccc @ianstewart _s: initial fork of Toolbox
ianstewart authored
1 <?php
2 /**
3 * The Sidebar containing the main widget areas.
4 *
5 * @package _s
6 * @since _s 1.0
7 */
8 ?>
9 <div id="secondary" class="widget-area" role="complementary">
10 <?php do_action( 'before_sidebar' ); ?>
11 <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
12
13 <aside id="search" class="widget widget_search">
14 <?php get_search_form(); ?>
15 </aside>
16
17 <aside id="archives" class="widget">
18 <h1 class="widget-title"><?php _e( 'Archives', '_s' ); ?></h1>
19 <ul>
20 <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
21 </ul>
22 </aside>
23
24 <aside id="meta" class="widget">
25 <h1 class="widget-title"><?php _e( 'Meta', '_s' ); ?></h1>
26 <ul>
27 <?php wp_register(); ?>
28 <aside><?php wp_loginout(); ?></aside>
29 <?php wp_meta(); ?>
30 </ul>
31 </aside>
32
33 <?php endif; // end sidebar widget area ?>
34 </div><!-- #secondary .widget-area -->
35
36 <?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
37 <div id="tertiary" class="widget-area" role="complementary">
38 <?php dynamic_sidebar( 'sidebar-2' ); ?>
39 </div><!-- #tertiary .widget-area -->
40 <?php endif; ?>
Something went wrong with that request. Please try again.