Adds a widget to display archive links using purely CSS-based collapsing.
As of April 2026, Collapsed Archives is a WordPress css plugin with 1.0K+ active installations and a 5/5 rating from 7 reviews. It has been downloaded 12K+ times in total. Requires WordPress 2.8+ and PHP false+. Available on WordPress.org since 2014. Last updated 5 years ago — may have compatibility concerns. Downloads are up 11% this week. Top alternative: WPCode – Insert Headers and Footers +….
This plugin adds a widget to display archive links using purely CSS-based collapsing; no JavaScript is used.
Has all the options I needed to achieve a Blogger-style treeview archive. I’m sure with some CSS I’ll be able to style it however I want in the future. Great work!
Awesome. And it’s just css.
Works great, thanks a lot.
One thing though, somehow within my theme the alignment to the left didn’t work out. margin-left: 0 !important; wasn’t enough, it seems. I fixed it by adding padding-left: 0! important; to .collapsed-archives > ul { }
Also made a modification to add a fade/transition effect to the dropdown.
For those interested it’s just some addition the last few lines of code:
/* Toggled content */
.collapsed-archives input ~ ul {
display: inline-block;
opacity: 0;
transition: opacity 0s linear 0s;
-webkit-transition: opacity 0s linear 0s;
}
.collapsed-archives input:checked ~ ul {
opacity: 1;
display: block;
transition: opacity 0.5s linear 0s;
-webkit-transition: opacity 0.5s linear 0s;
}Does exactly what the description says, and super easy to install – just drag and drop the Widget. No PHP or HTML changes to your theme!
Perfect, thank you for this wonderful plugin. Works a charm and looks the neatest!
| WordPress | 2.8+ requiredTested up to 5.7.0 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.