View file wordpress/wp-content/themes/default/archives.php
<?php /* Template Name: Archives */ ?> <?php get_header(); ?> <div id="content" class="widecolumn"> <?php include (TEMPLATEPATH . '/searchform.php'); ?> <h2>Архив по месяцам:</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> <h2>Архив по рубрикам:</h2> <ul> <?php wp_list_categories(); ?> </ul> </div> <?php get_footer(); ?>