This plugin uses jQuery to expand or collapsable the set of posts for each category, uses ajax to get the expandable content from server.
As of April 2026, WP ajax Collapsing Categories is a WordPress widget plugin with 10 active installations and a 0/5 rating0. It has been downloaded 3.2K+ times in total. Requires WordPress 2.8+ and PHP false+. Available on WordPress.org since 2011. Last updated 14 years ago — may have compatibility concerns. Top alternative: Widgets for Google Reviews.
This plugin uses jQuery to expand or collapsable the set of posts for each category,
uses ajax to get the expandable content from server.
0.WHY i do this.
in my work,i need a widget like this,so l learned to write it.
and i fully tested it in my site,it works fine.
since i am newbie,so there might be some bug or problem i do not know,
i appreciate it if you let me know.
1.About the Current Post
if the current post is in the category,the category link will has a “zxd_current_cat” class,
i certainly can add the css file in this little plugin,but i will not,because it is ugly.
you can customize it in your theme css file,like
sidebar .zxd_current_cat{
font-weight:bold;
color:#08c
}
2.Suggestion
more clean way to use this widget is set it in your theme’s function.ph…
| WordPress | 2.8+ requiredTested up to 3.10 |
| PHP | false+ required |
1.3 fix bugs,if user do not input or input wrong category slug list
show all top level categories
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.