-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.php
83 lines (71 loc) · 2.11 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<div id="sidebar">
<?php if (is_active_sidebar('widgets_sidebar')) :
dynamic_sidebar('widgets_sidebar');
else : ?>
<div class="widget widget-search">
<h3><?php _e('Search', 'skeleto'); ?></h3>
<?php get_search_form(); ?>
</div>
<div class="widget widget-archives">
<h3><?php _e('Archives', 'skeleto'); ?></h3>
<?php wp_get_archives(
array(
'type' => 'monthly',
)
); ?>
</div>
<div class="widget widget-categories">
<h3><?php _e('Categories', 'skeleto'); ?></h3>
<ul>
<?php wp_list_categories(
array(
'orderby' => 'name',
'order' => 'ASC',
'show_count' => 1,
'title_li' => '',
'depth' => 0,
)
); ?>
</ul>
</div>
<div class="widget widget-tags">
<h3><?php _e('Tags', 'skeleto'); ?></h3>
<?php wp_tag_cloud(
array(
'smallest' => 14,
'largest' => 14,
'unit' => 'px',
'orderby' => 'name',
'order' => 'ASC',
)
); ?>
</div>
<div class="widget widget-authors">
<h3><?php _e('Authors', 'skeleto'); ?></h3>
<ul>
<?php wp_list_authors(
array(
'show_fullname' => 1,
'optioncount' => 0,
'orderby' => 'post_count',
'order' => 'DESC',
'number' => 10,
'hide_empty' => 0,
'echo' => 1,
'exclude_admin' => 0,
)
); ?>
</ul>
</div>
<div class="widget widget-pages">
<h3><?php _e('Pages', 'skeleto'); ?></h3>
<ul>
<?php wp_list_pages(
array(
'title_li' => '',
)
); ?>
</ul>
</div>
<?php endif; ?>
</div>