
This plugin uses Javascript to dynamically expand or collaps the set of
months for each year and posts for each month in the archive listing.
Create collapsible archives by year or month. Features include: link to archive pages, display of individual posts and support for custom post-types.
Demo
I use this plugin in my blog at http://blog.robfelty.com
Screenshots

Collapsing archives with default theme

widget options
FAQ
How do I change the style of the collapsing archives lists?
The collapsing archives plugin uses several ids and classes which can be
styled with CSS. These can be changed from the settings page. You may have to
rename some of the id statements. For example, if your sidebar is called
“myawesomesidebar”, you would rewrite the line
ChangeLog
3.0.8 (2026.02.11)
- Improved SQL queries to avoid possible SQL injection
3.0.7 (2024.05.05)
- Fixed some PHP warnings and removed deprecated code
3.0.6 (2024.08.05)
- Sanitizing input for block.
- Verified works with WP 6.6
- Updated Readme a bit
3.0.5 (2023.12.07)
- accidentally messed up tagging version 3.0.4. Calling it 3.0.5 now
3.0.4 (2023.12.01)
- Got rid of deprecated __experimentalGroup
- Tested with WP 6.4.1
3.0.3 (2023.09.11)
- Fixed PHP warning about undefined key when changing style
3.0.2 (2023.06.04)
- Calling it stable version
- Tested with WP 6.2.2
- Known issue – does not work with Jetpack widget visibility settings
3.0.1 (2023.04.01)
- Fixed linkToArch option
- Fixed taxonomy type option
- Added SameSite attribute to cookies
- A bit of code cleanup
3.0.0 (2023.03.28)
- Converted to Gutenberg block to be usable by full-site editing themes
- Compatible with WP 6.2
- Got rid of dependency on jQuery (no more animations)
2.1.4 (2023.01.12)
- Fixed a different warning about enqueuing scripts
2.1.3 (2022.03.10)
- Fixed a deprecation warning about enqueuing scripts
2.1.2 (2022.03.10)
- Fixed an issue with the full-site editor
2.1.1 (2022.03.10)
- Compatible with WP 5.9.1
- Fixed some deprecated warnings
2.1 (2021.06.18)
- Compatible with WP 5.7
- Incorporated a number of code improvements from my other collapsing plugins
- Tested on WP 5.7.2
- Updated documentation a bit
- Added some screenshots and icons
2.0.5 (2017.08.17)
- Compatible with WP 4.8
- Cleaned up code some to reduce warnings
2.0.4 (2017.01.02)
- Compatible with WP 4.7
- Fixed bug with jquery compatibility
- Removed deprecated mysql debugging info
- Works with PHP 7
2.0.3 (2015.08.12)
2.0.2 (2014.09.24)
- Fixed bug when expanding years but not showing month links, where the oldest posts were not getting displayed
2.0.1 (2014.09.05)
2.0 (2012.04.09)
- now using all jquery for javascript stuff
- added accordion option
- added option to not use cookies
- Fixed display issues with IE
- Easier style handling
- Added support for custom post types
Older versions