Create Archives Page For Your WordPress Blog

1. Open your current WordPress theme, duplicate the page.php and rename it to archives.php.

2. Add this lines to the very top of code in archives.php:

<?php
/*
Template Name: Archives
*/
?>

3. Edit the <?php the_content(''); ?> to <?php wp_get_archives('arguments'); ?> (if you want other format, please read this).

Remove other unnecessary code to meet with what you need.

4. Publish a New Page, call it Archives. Change the Page Template from Default Template to Archives.

There are many tutorials about creating Archives Page. I just want to make it simpler and flexible. If you can understand the point here, you can make your Archives Page in any format. You also can create as many as pages you want, not only Archives Page.

I prefer to combine my archives page with Clean Archives Reloaded plugin.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>