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(''); ?> t
o <?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.
Categories: Wordpress Tutorial