This plugin uses Javascript based on MooTools framework to dynamically expand or collapse the yearly/monthly post archive listing.
IMPORTANT! Please deactivate before upgrading, then re-activate the plugin.
Unpack the contents to wp-content/plugins/ so that the files are in a collapsing-archives directory. Now enable the plugin. To use the plugin, change the following here appropriate (most likely sidebar.php):
Change From:
<ul>
`<?php wp_get_archives(); ?>`
</ul>
To something of the following:
<?php
if( function_exists('collapsArch') ) {
collapsArch();
} else {
echo "<ul>\n";
wp_get_archives();
echo "</ul>\n";
}
?>
You can specify options for collapsArch. See options section.
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 mootools-collapsing-archives/ directory. You must enable the plugin, then simply go the Presentation > Widgets section and add the Widget.
Requires: 2.8 or higher
Compatible up to: 3.1.4
Last Updated: 2011-7-12
Downloads: 3,374
Got something to say? Need help?