23 April 2008
Smart Archives for WordPress
Posted by Duckeldannys Money Blog under: General; Net News; Reviews; Wordpress .
I searched for a good Wordpress plugin which worked great and makes the Archives look cleaner. The inspiration to search a Archives Plugin gives Jean Costa from jeancosta.com, because he has written a Review of my Blog. See the Review here.
I´m very thankful for this Review, because now I see what I can do better. He has written, that I should use the “SRG Clean Archives” Plugin. I´ve tested it, but it don´t work for me. So, I searched for another plugin. Today I found this useful artice of jtpratt.com and the title of this artice is “How to create a master Archive Index page“. He introduces some useful methods to create a own Archive Page with Wordpress. I followed some methods.
He writes about a Archives Plugin calls “Smart Archives“. I think the results looks like the same as the “SRG Clean Archives” Plugin. So, I´ve tested it too and it works very great.
Installation and Implementation
- Place the smartarchives.phps file into your /wp-content/plugins/ directory.
- Change the file extension from “.phps” to “.php”.
- Activate the plugin from the WordPress admin panel.
- If you use WordPress’ “Pages” feature, see the notes below.
- Call the Smart Archives function like so:
<?php smartArchives('type','category ID'); ?>
“Type” is one of three values: block, list, or both. “Block” produces the block of years and months,1 “list” generates a reverse chronological list of your posts, including links to monthly archives, and “both” gives you the block and the list.
“Category ID” is simply the number of the category you want to exclude. If you want to exclude more than one category, simply put a space between them. Keep in mind that the “block” doesn’t exclude categories. If you call the function with no arguments it will default to “both” and will exclude no categories. Some examples follow — each is a proper invocation of the plugin.
I copied this code to the archives.php
<?php smartArchives('list','category ID'); ?>
One Comment so far...
Jami Says:
23 April 2008 at 22:00.
Thanks so much for the info. I was thinking about doing something with my archives but didn’t know what. This gives me some good ideas.

