SRG Clean Archives WordPress Plugin

Plugin description: This plugin is designed to display your archive listings in a clean and uniform fashion that’s Search Engine friendly on a dedicated page or in your sidebar.

Plugin Features: It lists the Month / Year, shows total post count for the month (enabled by default), the day of the month the article was published, the title of the article (permalink to article) and the number of comments (enabled by default) that have been made on each article.

If wanted, you can toggle on/off the moo.fx for collapsing months (on by default). If moo.fx is not enabled, your full archive display is shown but it’s still using the caching function.

For those of you who’d like to have the standard WordPress paged archives as well, there is now an option to toggle on/off the link display (on by default) which reads “Detailed Monthly Archive” and goes to your paged archive view for that month.

You can also toggle on/off hiding password protected post display (off by default) from showing up in your archives list.

All the above features are controlled via the plugin admin page (see readme.txt for details).

Plugin Demo: archives page.

How do I use it: Upload the contents of the downloaded ZIP file to your plugins folder located at “/wp-content/plugins/” while making sure to keep this plugin’s file structure intact.

You should end up with a folder called “srg_clean_archives” in your plugins folder and some files and a folder called “moo.fx” inside of that.

Go to your WordPress dashboard admin area and activate the plugin from the plugins page

Creating Archive Page: Create a page like you normally would in WordPress.

In my example, we’ll give it the page title of “Archives”. In the Page Content section add the following code:


For those of you using the new rich-text editor – be sure to click the ‘html’ button to edit the page source directly. Otherwise WordPress will wrap code tags around the line which generates the archives output and it will not work properly.

Also, make sure under ‘Page Template’ you are using ‘Default Template’ as some WordPress themes have an archives template.

Press the publish button and you’re done. You’ll now have an archives page. If you want, you can also add text above the archives page code as seen on my site’s archive page.

More detailed information can be found in the readme.txt file.

Adding it to your sidebar.php file: If you would like to have your archives in your sidebar, you would use the following function call code:

<!–php if (function_exists(’srg_clean_archives’)) { srg_clean_archives(); }–>

If you need any help with getting this going, let me know.

Download Clean Archives:

Current version: 4.0.4 (Supports WordPress versions 2.1.x thru 2.2).

  • Download Clean Archives 4.0.4

Older version: 2.1 repackaged as 2.2 (Supports WordPress 2.0.x).

  • Download Clean Archives 2.2 (For WordPress 2.0.x)

Keep in mind version 2.2 does not have all the cool features of the 4.x series and is for people who are running the 2.0.x branch of WordPress.