diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


JavaScript Animated Collapsing Categories

This Widget uses WordPress Categories which have Parent to Child relationships to create a collapsible list of Categories for your weblog. Let me stress: you must have Categories that have child Categories for this to work, as the child Categories will be the ones that get rolled up in the collapsed list. If you are unfamiliar with what this means or why you would want to use it, see WordPress documentation for reference.


  1. The ability to display a compact list of top-level Categories and allow users to expand the list if they so desire.
  2. NO NEED FOR PAGE RELOAD! The major improvement over the previous version is that, because this version uses JavaScript, you do not need to reload the page every time someone expands the list. This avoids the confusion that the original Widget caused.
  3. Two separate sorting options for the Top-Level and Child Categories, along with the option to sort in Ascending or Descending order. All child Categories below the first child (second, third generation) will be bound to the first child’s setting.
  4. For the sake of keeping your site’s look and feel, I’ve provided an option which will allow you to set the CSS class name of both the Top-Level and Child Categories.
  5. You also have the option of setting the displayed name of the Categories as either the Category Name or as the Description, if you’re used to that option in WP.
  6. The same options are available for setting the link’s TITLE attribute.
  7. The option to show the post count in each Category is also available.
  8. Support for an unlimited hierarchical depth. If you’ve got great-great-great-grandchildren, this Widget will handle them. Whether your sidebar will have room is another story. . .


  1. Download the file found Collapsing Categories, and extract to a local folder.
  2. Upload collapsing_categories.php file and the folder to wp-content/plugins/ folder on your webserver. Both the file and the folder should appear in the root of the /plugins folder.
  3. Activate from the plugins page in WordPress Admin panel.
  4. Go to your “Presentation” page and click on “Sidebar Widgets,” place and configure your Collapsing Categories Widget.

Collapsing Categories | WebTools

JavaScript Animated Collapsing Categories, WordPress, Widget, Blog

Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...