-
Notifications
You must be signed in to change notification settings - Fork 0
/
archives.php
49 lines (42 loc) · 1.19 KB
/
archives.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
<?php
/*
Template Name: Archives
*/
get_header(); ?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post single-post">
<div class="entry archives-entry">
<?php the_content(); ?>
<table border="0">
<tr>
<td width="35%">
<h2>categories</h2>
<ul class="archives-list">
<?php wp_list_categories('title_li=&show_count=1'); ?>
</ul>
</td>
<td width="35%">
<h2>yearly archives</h2>
<ul class="archives-list">
<?php wp_get_archives('type=yearly&show_post_count=1'); ?>
</ul>
</td>
<td width="30%">
<h2>search</h2>
<ul class="archives-list">
<li><?php get_search_form(); ?></li>
</ul>
<?php if (is_active_sidebar('widgets-1')): dynamic_sidebar('widgets-1'); endif; ?>
</td>
</tr>
</table>
<div style="clear:both;"></div>
<p class="postmetadata">
<?php edit_post_link('edit', '', ''); ?>
</p>
</div>
</div>
<?php endwhile; endif; ?>
</div>
<?php get_footer(); ?>