1
|
1 |
<?php get_header(); ?> |
|
2 |
|
|
3 |
<?php get_sidebar(); ?> |
|
4 |
|
|
5 |
<div id="main"> |
|
6 |
|
|
7 |
<div class="middle"> |
|
8 |
|
|
9 |
<div class="box"> |
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
<h1>Archives</h1> |
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
<?php if ( is_category() || is_day() || is_month() || |
|
18 |
|
|
19 |
is_year() ) { |
|
20 |
|
|
21 |
?> |
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
<?php /* If this is a 404 page */ if (is_404()) { ?> |
|
26 |
|
|
27 |
<?php /* If this is a category archive */ } elseif (is_category()) { ?> |
|
28 |
|
|
29 |
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p> |
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?> |
|
34 |
|
|
35 |
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives |
|
36 |
|
|
37 |
for the day <?php the_time('l, F jS, Y'); ?>.</p> |
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?> |
|
42 |
|
|
43 |
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives |
|
44 |
|
|
45 |
for <?php the_time('F, Y'); ?>.</p> |
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?> |
|
50 |
|
|
51 |
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives |
|
52 |
|
|
53 |
for the year <?php the_time('Y'); ?>.</p> |
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
<?php } ?> |
|
58 |
|