Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Collapse Page and Category Plugin

Uses CSS and Javascript to collapse children on Pages and Categories or any Unordered List that uses the css class 'children'.

This plugin installs some javascript in the footer of every page. Javascript detects any list items with a class of 'children'. It hides the children in the tree and sets a click event that will expand or re-collapse them. The action uses only css and javascript and occurs after your page loads, so that search engines will see the whole tree before it is collapsed.

WordPress uses the 'children' css class when it displays pages and categories in unordered lists, but you can put anything in an unordered list with a css class of 'children' on the child UL tags and the javascript will collapse or expand it for you.

Note: The plugin will not work with themes and widgets that overwrite the default behavior of WordPress.

There are no configurations options. The plugin is on when it is installed and enabled. To turn it off just disable the plugin from the plugin menu.

Donations: If you find this plugin useful and you wish to support me, you can buy my book of short stories (cheap) Error Message Eyes: A Programmer's Guide to the Digital Soul
At the very least please visit my websites and, if appropriate, add a link to one on your blog:
Blog's Eye (My WordPress Plugins and other PHP coding projects)
Wandering Blog (My personal Blog)
Resources for Science Fiction (Writing Science Fiction)
The JT30 Page (Amplified Blues Harmonica)
Harp Amps (Vacuum Tube Amplifiers for Blues)
West Nyack Honey (I keep bees and sell the honey)

Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 5 years ago
Active Installs: 300+


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
50,2,1 100,1,1
100,2,2 100,1,1