Title: WP ajax Collapsing Categories
Author: zxdong262
Published: <strong>February 28, 2011</strong>
Last modified: April 29, 2011

---

Search plugins

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.

![](https://s.w.org/plugins/geopattern-icon/wp-ajax-collapsing-categories.svg)

# WP ajax Collapsing Categories

 By [zxdong262](https://profiles.wordpress.org/zxdong262/)

[Download](https://downloads.wordpress.org/plugin/wp-ajax-collapsing-categories.1.3.zip)

 * [Details](https://test.wordpress.org/plugins/wp-ajax-collapsing-categories/#description)
 * [Reviews](https://test.wordpress.org/plugins/wp-ajax-collapsing-categories/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/wp-ajax-collapsing-categories/#installation)
 * [Development](https://test.wordpress.org/plugins/wp-ajax-collapsing-categories/#developers)

 [Support](https://wordpress.org/support/plugin/wp-ajax-collapsing-categories/)

## Description

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.php.
 if you
want to know how,visit http://html5beta.com/wordpress/wp-ajax-cllapsing-categories/,
i will explain it there.

### Known bugs

none

### License

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.

## Installation

 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

## FAQ

None for Now

## Reviews

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.

Contributors

 *   [ zxdong262 ](https://profiles.wordpress.org/zxdong262/)

[Translate “WP ajax Collapsing Categories” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-ajax-collapsing-categories)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-ajax-collapsing-categories/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-ajax-collapsing-categories/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-ajax-collapsing-categories/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-ajax-collapsing-categories/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

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

## Meta

 *  Version **1.3**
 *  Last updated **15 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **3.10**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-ajax-collapsing-categories/)
 * Tags
 * [categories](https://test.wordpress.org/plugins/tags/categories/)[sidebar](https://test.wordpress.org/plugins/tags/sidebar/)
   [widget](https://test.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://test.wordpress.org/plugins/wp-ajax-collapsing-categories/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wp-ajax-collapsing-categories/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-ajax-collapsing-categories/reviews/)

## Contributors

 *   [ zxdong262 ](https://profiles.wordpress.org/zxdong262/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-ajax-collapsing-categories/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://html5beta.com/donate/)