-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.php
33 lines (27 loc) · 1.24 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
<div id="sidebar">
<ul>
<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
<li id="archives" class="minibox widget">
<h3>Archives</h3>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>
<li class="minibox catwidget">
<h3>Categories</h3>
<ul><?php wp_list_categories('show_count=0&title_li='); ?></ul>
</li>
<li class="box tagcloud">
<h3>TagCloud</h3>
<?php wp_tag_cloud(); ?>
</li>
<?php if (function_exists('get_recent_comments')) { ?>
<li class="recentcomments"><h3><?php _e('Recent Comments:'); ?></h3>
<ul>
<?php get_recent_comments(); ?>
</ul>
</li>
<?php } ?>
<?php endif; ?>
</ul>
</div>