Adds a widget which uses Javascript to dynamically expand or collapse the set of posts for each category.
As of April 2026, Collapsing Categories is a WordPress widget plugin with 4.0K+ active installations and a 4.1/5 rating from 57 reviews. It has been downloaded 292K+ times in total. Requires WordPress 5.0+ and PHP false+. Available on WordPress.org since 2008. Recently updated within the last 3 months. Downloads are down 6% this week. Top alternative: Widgets for Google Reviews.
Collapsing Categories creates an expandable list of categories and
subcategories. It can also expand to show posts. The primary usage is as a
widget, but you can also use the code in your theme manually if you wish (see
installation instructions)
Options can be set
from the block panel. If you wish to insert the code into your theme manually
instead of using a widget, you can use the following options. These options
can be given to the collapsCat() function either as an array or in query
style, in the same manner as the wp_list_categories function.
$defaults=array(
'showPostCount' => true,
'inExclude' => 'exclude',
'inExcludeCats' => '',
'showPosts' => true,
'showPages' => false,
'linkToCat' => true,
'olderThan' => 0,
'excludeAll' =>…there are a lot of unresolved topics in the support forum and this shows that the plugin is a waste..
it is not doing what it should and the developers ignore the users
This plugin is simple and easy to use. Highly recommended!
Really love the plugin. U can achieve a lot with it and it is super useful for shops also! There is a good base for adding your own CSS and change it to your own desire.
At the moment there are a few bugs I think, where the “advanced options” button is not working and therefore it´s kind of not possible to use some settings.
I hope the developer keeps this plugin running and up to date. This deserves far more stars then it got.
Works as should.
Works perfectly once again after 2.2.4 update. Works with WP 5.4 and PHP 7.4 Thanks!
You’re the man! See it in action here, slowjamsforever.com haha
| WordPress | 5.0+ requiredTested up to 6.9.4 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.