Projects
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.
On this page
What the plugin didWhy so many sites linked to itWhy you should not install it nowHow to get a clean archive page todayA note on WP-DBManager and the other plugins of that eraCommon questionsWhat 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
- It has not been maintained for many years; PHP and WordPress have both moved on, and old code paths can throw errors or warnings on a current install.
- Unmaintained plugins do not receive security fixes. Even a small plugin that prints a list can carry an unescaped output bug.
- The collapsing behaviour relied on a script library that WordPress no longer ships in the same form.
- Everything it did can now be done with tools that are maintained.
This page documents retired software for readers arriving from old links and plugin round-ups. Geek With Laptop relaunched under new editorial ownership in 2026 and does not distribute the plugin.
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.
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.