2009-07-23 23:58:25 +00:00
|
|
|
<?php global $posts ?>
|
2009-07-13 09:18:25 +00:00
|
|
|
<div class="post-page-head"></div>
|
|
|
|
<div class="post-page">
|
|
|
|
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
|
|
|
|
<?php /* Category Archive */ if (is_category()) { ?>
|
|
|
|
<div class="content"><h2 class="pagetitle">Archive for ‘<?php single_cat_title() ?>’</h2></div>
|
2009-07-23 23:58:25 +00:00
|
|
|
<?php /* Tag Archive */ } elseif(is_tag()) { ?>
|
2009-07-13 09:18:25 +00:00
|
|
|
<div class="content"><h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title() ?>’</h2></div>
|
|
|
|
<?php /* Daily Archive */ } elseif (is_day()) { ?>
|
|
|
|
<div class="content"><h2 class="pagetitle">Archive for <?php the_time('F jS, Y') ?></h2></div>
|
|
|
|
<?php /* Monthly Archive */ } elseif (is_month()) { ?>
|
|
|
|
<div class="content"><h2 class="pagetitle">Archive for <?php the_time('F, Y') ?></h2></div>
|
|
|
|
<?php /* Yearly Archive */ } elseif (is_year()) { ?>
|
|
|
|
<div class="content"><h2 class="pagetitle">Archive for <?php the_time('Y') ?></h2></div>
|
|
|
|
<?php /* Author Archive */ } elseif (is_author()) { ?>
|
|
|
|
<div class="content"><h2 class="pagetitle">Author Archive</h2></div>
|
|
|
|
<?php /* Paged Archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
|
|
|
|
<div class="content"><h2 class="pagetitle">Archives</h2></div>
|
|
|
|
<?php } ?>
|
|
|
|
<br class="clear-margins" />
|
|
|
|
</div>
|
|
|
|
<div class="post-page-foot"></div>
|