Check out my Archives page. Follow these steps, and you will be able to create an Effective Archives page in no time:
-> Log into your WP Administration panel and click on the Write a New Page link on the dashboard.
-> Use the following code
<h3>Month Archives</h3>
<ul>
<?php wp_get_archives(’show_post_count=1′); ?>
</ul>
<h3>Category Archives</h3>
<ul>
<?php wp_list_cats(’hierarchical=0&optioncount=1′); ?>
</ul>
-> Publish the page.
-> Check out your newly created archives page! It will be categorized in terms of Months and Categories
P.S. In addition to Archives by Month and Archives by Categories, if you also want to list all your posts, then add the following code.
<h3 class=â€Âarchiveheadâ€Â>Fresh Archives</h3>
<ul class=â€Âarchivelistâ€Â>
<?php wp_get_archives(’type=postbypost’);?>
</ul>
With this code, all your posts on your will be listed! However, if you want to limit your listing to say the last 25 posts, replace the 3rd line of the above code with this one
<?php wp_get_archives(’type=postbypost&limit=25‘);?>
That’s it! You’re done
Now you’ve created a clean & effective Archives page, just like mine!
Popularity: 2% [?]
Hi!, If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
















hi when i tried this, its not working for me..