ProjectsWordPress plugin
SRG Clean Archives: The WordPress Archive Plugin, Then and Now
Clean Archives was the most-linked thing this site ever published, and it was not an article. It was a small WordPress plugin that replaced the default archive widget with a single tidy page listing every post. Here is what it did, why people loved it, and what to use instead today.

Quick answer
SRG Clean Archives rendered a compact, collapsible list of every post on a blog grouped by month, with comment counts, on one page, using a shortcode. It has not been updated for many years and should not be run on a modern site, but a current WordPress site can produce the same page with a block-based template or a maintained plugin in under half an hour.
On this page
What the plugin did
Out of the box, WordPress offered two ways to browse old posts: a sidebar list of months that each led to a paginated page of full posts, and category pages that did the same. On a blog with several hundred posts neither helped a reader find anything. Clean Archives replaced both with a single page: every post, grouped under month headings, one line each, with the post date, the title as a link and the number of comments in brackets. Months could be collapsed and expanded with a click, so the page stayed readable even with a thousand entries. You created a blank page, dropped in a shortcode, and the plugin did the rest. It was about as small as a useful plugin can be, and that was the point.
| Feature | How it worked | Why it mattered |
|---|---|---|
| Shortcode | Place the shortcode on any page | No template editing needed |
| Month grouping | Posts listed under each month with a count | Readers could scan a year at a glance |
| Collapsible months | A small script toggled each month open or closed | Kept a huge archive on one screen |
| Comment counts | Shown beside each title | Signalled which posts had a discussion |
| Caching | Output cached between posts | Cheap to run on shared hosting |
| Styling hooks | A few CSS classes | Themes could restyle it in a few lines |
Why so many sites linked to it
Three things came together. The plugin solved a genuine, universal annoyance for bloggers, so people recommended it in the plugin lists and round-ups that were a staple of blogging in the late 2000s. It was hosted in the official plugin directory with the author's site as its homepage, which gave the project page here a permanent link from one of the most authoritative domains on the web. And the plugin included a small credit link that many sites left in place. The result is that, more than a decade after the last update, hundreds of sites in a dozen languages still link to this project page. That is why this page exists, and why it tells the story honestly rather than pretending the plugin is current.
Why you should not install it now
How to get a clean archive page today
Use the block editor
Create a page called Archive. Add a Query Loop block, set it to show all posts, choose a list layout showing only the title and date, and set the posts per page high enough to show everything. Group headings by month can be approximated with the Archives block set to show post counts, or by ordering the list by date and adding a heading per year.
Or use a maintained archive plugin
Several current plugins in the official directory render a compact date-grouped list with a shortcode or a block. Check the last-updated date and the tested-up-to version before installing anything, and prefer one that outputs plain HTML with no external scripts.
Or write a short template
In a child theme, a page template that loops over all posts, prints a heading whenever the month changes, and lists each post as a link with its comment count is about thirty lines of PHP. This gives exactly the Clean Archives result with nothing to update but your own theme.
Add the collapse behaviour if you want it
A native details and summary element per month gives collapsible sections with no script at all, and works with keyboards and screen readers.
A note on WP-DBManager and the other plugins of that era
This site also posted release notes for other people's plugins, including the database backup plugin WP-DBManager, which was widely used alongside Clean Archives. That plugin, unlike this one, continued to be maintained for many years. The general advice is the same for any plugin from that period: check the directory page for its last update before trusting it, and prefer database backups made by your host or a current backup plugin over anything that writes SQL dumps into a web-accessible folder.
This record is part of the WordPress projects archive. The same author's themes are documented too: the Desk Mess desk-styled theme and the Autumn Forest seasonal theme. An archive page is itself a public version history of a site; for your own writing, the draft version history guide shows how to keep a private one.
Common questions
What was SRG Clean Archives?
A small WordPress plugin, active from about 2007 to 2012, that listed every post on a blog by month on one page, with comment counts, via a shortcode.
Is the Clean Archives plugin still available?
It may still appear in plugin directories and mirrors, but it is unmaintained and should not be installed on a current site.
What is the best alternative today?
A Query Loop block or Archives block on a page, a currently maintained archive plugin, or a short custom page template in a child theme.
Why does the plugin link to this site?
The plugin's homepage was the author's blog, and it carried an optional credit link. Those links are why this page still receives visitors from old plugin round-ups.
Can I make months collapsible without a plugin?
Yes. Wrap each month's list in a details element with the month name in a summary element. No script required.
Sources
- WordPress.org: Query Loop block: listing all posts on an archive page with the block editor.
- WordPress.org: Archives block: monthly archive lists with post counts.
- WordPress Developer: Plugin Handbook, Best Practices: maintained code and safe output practices for plugins.
- MDN: The details disclosure element: collapsible month sections with no script.