-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathsidebar.php
More file actions
49 lines (44 loc) · 1.08 KB
/
Copy pathsidebar.php
File metadata and controls
49 lines (44 loc) · 1.08 KB
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
42
43
44
45
46
47
48
49
<?php
/** sidebar.php
*
* @author Konstantin Obenland
* @package The Bootstrap
* @since 1.0.0 - 05.02.2012
*/
tha_sidebars_before(); ?>
<section id="secondary" class="widget-area span4" role="complementary">
<?php
tha_sidebar_top();
if ( ! dynamic_sidebar( 'main' ) ) {
the_widget(
'WP_Widget_Archives',
array(
'count' => 0,
'dropdown' => 0,
),
array(
'before_widget' => '<aside id="archives" class="widget well widget_archives">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
)
);
the_widget(
'WP_Widget_Meta',
array(),
array(
'before_widget' => '<aside id="meta" class="widget well widget_meta">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
)
);
} // end sidebar widget area
tha_sidebar_bottom();
?>
</section><!-- #secondary .widget-area -->
<?php
tha_sidebars_after();
/*
End of file sidebar.php */
/* Location: ./wp-content/themes/the-bootstrap/sidebar.php */