Skip to content

Commit

Permalink
Added in support for achives
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Morris committed Nov 16, 2011
1 parent 47053ba commit 26f4613
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions archives.php
@@ -0,0 +1,47 @@
<?php
/*
Template Name: Archives
*/
?>

<?php get_header(); ?>

<div class="row">

<div class="nine columns">

<?php the_post(); ?>

<h3>Archives</h3>
<h4 class="subheader"> by Month:</h4>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>

<h3>Archives</h3>
<h4 class="subheader"> by Subject:</h4>
<ul>
<?php wp_list_categories(); ?>
</ul>

</div>

<!-- Begin Pagination -->
<?php if (function_exists("emm_paginate")) {
emm_paginate();
} ?>
<!-- End Pagination -->

</article>

<!-- Begin Sidebar -->
<?php get_sidebar(); ?>
<!-- End Sidebar -->

<hr>

<!-- End Post Loop -->

</div>

<?php get_footer(); ?>

0 comments on commit 26f4613

Please sign in to comment.