This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP ajax Collapsing Categories


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{




more clean way to use this widget is set it in your theme’s function.php.
if you want to know how,visit,
i will explain it there.

Known bugs



This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


  1. Upload the full directory into your wp-content/plugins directory or download it from plugin administration page
  2. Activate the plugin at the plugin administration pagee


None for Now


There are no reviews for this plugin.

Contributors & Developers

“WP ajax Collapsing Categories” is open source software. The following people have contributed to this plugin.



1.3 fix bugs,if user do not input or input wrong category slug list
show all top level categories