Plugin Directory

Collapsing Pages

This plugin uses Javascript to dynamically expand or collapsable the set of pages for each parent page.

Download Version 0.6.1

IMPORTANT! Please deactivate before upgrading, then re-activate the plugin.

MANUAL INSTALLATION (the only option for pre 2.3 wordpress, unless you have the widget plugin installed)

Unpackage contents to wp-content/plugins/ so that the files are in a collapsPage directory. Now enable the plugin. To use the plugin, change the following where appropriate (most likely sidebar.php):

<ul>
 `<?php wp_list_pages(...); ?>`
</ul>

To something of the following:

<?php
  echo "<ul>\n";
      if( function_exists('collapsPage') ) {
      collapsPage();
    } else {
      wp_list_pages(...);
    }
  echo "</ul>\n";
    ?>

You can specify options if you wish. See the options section.

The above will fall back to the WP function for pages if you disable the plugin.

WIDGET INSTALLATION

For those who have widget capabilities, (default in WordPress 2.3+), installation is easier.

Unzip contents to wp-content/plugins/ so that the files are in a collapsing-pages directory. You must enable the Collapsing Pages plugin, then simply go the Presentation > Widgets section and add the Collapsing Pages Widget.

Requires: 2.8 or higher
Compatible up to: 3.0.5
Last Updated: 2010-6-22 Downloads: 27,532

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(28 ratings)

Compatibility

+
=
Not enough data

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

Log in to vote.

100,5,5 100,1,1
100,4,4
100,2,2
100,6,6
100,1,1
100,2,2
100,1,1
100,1,1
100,2,2
50,2,1