JavaScript Animated Collapsing Categories

Please note that this page has been moved!!! Whilst I work out the redirection, you can check out the new Page created to handle this Widget. I will eventually be moving all the comments from this article over to the new page, but that’s going to have to wait until the weekend, donchaknow. . .

Thank you, thank you, thank you to all those who have supported and installed this Widget. I get to see what blogs use it, and that rocks!

The Enviro-Quotes Widget

Enviro-Quotes is really just a minor alteration of the original Joe’s Quotes Widget along with some new icons and a new quotes list, but for those of you inspired by An Inconvenient Truth or who are of environmentalist mind-set, this may be of use.

The intent of this Widget is to allow Administrators to display helpful environmental tips for their users on a convenient sidebar, and also to allow Admins the option to link those tips to other resources for additional information. The current file includes everything from tips on keeping your car running efficiently to avoiding overuse of water when doing your laundry. Just helpful tips that perhaps your readers didn’t think of. To do this, I’ve changed a few things about the way the Widget works (for example, I’ve substituted the non-visible tab delimiters with the statistically-unlikely tilde [ ~ ] to better clarify the limits between the parts of each entry). But not much has changed otherwise.

The alterations to the original file are as follows:

  1. I’ve altered the linking structure some. Whereas the original Widget simply made every quote a link back to Joe’s site, the new version allows you to define a link (or not) for each individual quote.
  2. I’ve clarified the div id’s in use for this Widget and added a new one. Because I’ve removed the original link to Joe’s site, I added a div and allowed users the choice of either including the link or styling that part of the Widget to display:hidden; should they wish. Please see the advanced information in the README file included with the download.
  3. The only file included with this widget is one called “efficient.txt,” and it includes all the tips printed in the final widget. I’ve also created some relevant icons which are also included.

Installation Instructions:

This one’s pretty simple, folks. Just extract the files from the download package (found here as a ZIP and here as a RAR file), upload the eqw.php and /eqw directories to your plugins directory (typically wp-content/plugins for most installations) and turn the bugger on in the Plugins page of your Admin panel. Once that’s done, you can go to your Sidebar Widgets page, slide your “Enviro-Quotes” file where you’d like, name it and you’re all set!

For additional options such as styling and creating/deleting/modifying environmental tips and tricks, please see the README.txt file included in the download package.

Additional features, bells and whistles will be considered upon request in the comments section. Also, if you’ve come up with some good tips and tricks you’d like to share with the group, feel free to either add the entries to the comments section or link to your complete file! The environment gets better when we all work together!

Folding Categories List Widget

NEW AND IMPROVED VERSION AVAILABLE!!? You asked and I listened.? I have developed a new version of the “folding categories” variety and released it as The JavaScript Animated Collapsing Categories Widget.? This one bares no resemblance whatsoever to this older version, which is based on borrowed code.? The new versions is JavaScript-animated (duh), all original code and loaded to the gills with new options you asked for like choosing the sorting and style settings.? Bon apetit!

UPDATED! Per user request, this download is now available in both RAR and ZIP versions.

IMPORTANT!! Many users/potential users have written on this entry to say that they’ve installed both plugins and the code is not working for them. The simplest and most likely answer to this is you do not have parent/child categories, upon which this plugin relies. If you are unfamiliar with what a parent/child relationship between categories is, or not sure how to get your categories like this, please see the WordPress online documentation on the subject!

Also important: Many have asked if this plugin requires the page to be refreshed/reloaded, and yes it does. This is not an AJAX/JavaScript plugin, simply an adaptation of someone elses folding categories code that allows it to be a widget, nothing more. I am hoping to maybe develop another plugin in the future which *is* AJAX, but this one isn’t it!

I’m sure somewhere along the line someone has already done this. If so, I cannot find them in a Google search, so I decided to take matters into my own hands and create my first Widget.

This is based on the code found at that creates a collapsible Categories list, and is merely modified from that to work with Widget-ized sidebars. To install:

  1. Download the Widget (RAR, ZIP)
  2. Extract both files and upload to your wp-content/plugins folder
  3. Activate the Folding Categories List plugin
  4. Activate the Folding Categories List Widget
  5. Go to the Sidebar Widgets Configuration page to set the options you like

That’s it! Nothing more to do except sit back and enjoy a slightly more compact Categories list. I hope that people find this plugin useful. Be sure to thank the guys at WSW for the original code!