Archives

<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
/*
Template Name: Archives
*/

?>
<?php get_header(); ?>

<div>
<?php while(have_posts()) : the_post(); ?>

<TABLE>
<TR aligh = “top”>
<TD ><h2>Categories</h2>
<ul><?php wp_list_cats(‘sort_column=name&optioncount=1’) ?></ul></TD>
<TD><h2>Monthly Archives</h2>
<ul><?php wp_get_archives(‘type=monthly&show_post_count=1’) ?></ul></TD>
</TR>
</TABLE>

</div>
<?php endwhile; ?>

<?php get_footer(); ?>

Leave a Reply

Your email address will not be published. Required fields are marked *