Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Moo Collapsing Categories

This plugin uses Javascript based on MooTools framework to dynamically expand or collapse the categories listing.

What is the option about the ID of the sidebar?

Here is the deal. If you have a rule in your theme like:

#sidebar ul li ul li {color:blue}

it will override a rule like

li.collapsArch {color:red}

because it uses an ID, instead of a class. That is the way CSS works. So if you change our rule to:

#sidebar li.collapsArch {color:red}

then this alleviates that problem. The option for the ID of the sidebar does this automatically for you.

How do I use different symbols for collapsing and expanding?

If you want to use images, you can upload your own images to http://yourblogaddress/wp-content/plugins/collapsing-categories/img/collapse.gif and expand.gif

There is an option for this.

I have selected a category to expand by default, but it doesn't seem to work

If you select a sub-category to expand by default, but not the parent category, you will not see the sub-category expanded until you expand the parent category. You probably want to add both the parent and the sub-category into the expand by default list.

I can't get including or excluding to work

Make sure you specify category names, not ids.

There seems to be a newline between the collapsing/expanding symbol and the category name. How do I fix this?

If your theme has some css that says something like #sidebar li a {display:block} that is the problem. You probably want to add a float:left to the .sym class

No categories are showing up! What's wrong?"

Are you using categories or tags? By default, collapsing categories only lists categories. Please check the options in the settings page (or in the widget if you are using the widget)

How do I change the style of the collapsing categories lists?

There are several default styles that come with the plugin. You can choose from these in the settings panel, or you can create your own custom style. A good strategy is to choose a default, then modify it slightly to your needs.

The following classes are used: * collapsing - applied to all ul and li elements * categories - applied to all ul and li elements * list - applied to the top-level ul * item - applied to each li which has no sub-elements * expand - applied to a category which can be expanded (is currently collapsed) * collapse - applied to a category which can be collapsed (is currently expanded) * sym - class for the expanding / collapsing symbol

Requires: 2.8 or higher
Compatible up to: 4.4.6
Last Updated: 12 months ago
Active Installs: 200+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1
0,2,0 100,1,1 100,1,1
100,1,1 100,1,1