-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.php
More file actions
83 lines (48 loc) · 1.83 KB
/
sidebar.php
File metadata and controls
83 lines (48 loc) · 1.83 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
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">
<div id="sidebar-left">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
<h4>Recent Posts</h4>
<ul>
<?php get_archives('postbypost', 10); ?>
</ul>
<h4><?php _e('Categories'); ?></h4>
<ul>
<?php wp_list_cats('sort_column=name'); ?>
</ul>
<h4><?php _e('Archive'); ?></h4>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h4><?php _e('Blogroll'); ?></h4>
<ul>
<?php wp_list_bookmarks('categorize=0&title_li=0&title_after=&title_before='); ?>
</ul>
<?php endif; ?>
</div>
<div id="sidebar-right">
<div class="search-form">
<?php $search_text = "Search..."; ?>
<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
<input type="text" value="<?php echo $search_text; ?>" name="s" id="s" onblur="if (this.value == '')
{this.value = '<?php echo $search_text; ?>';}"
onfocus="if (this.value == '<?php echo $search_text; ?>')
{this.value = '';}" />
<input type="hidden" id="searchsubmit" />
</form>
</div>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
<?php get_calendar(1); ?>
<h4><?php _e('Tags'); ?></h4>
<ul>
<?php wp_tag_cloud(''); ?>
</ul>
<h4><?php _e('Meta'); ?></h4>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<?php wp_meta(); ?>
</ul>
<?php endif; ?>
</div>
</div>