css, javascript, php, WordPress

Collapsing updates galore

I’ve been working a lot lately on some major rewrites to all 4 of the collapsing X wordpress plugins I have written. All 4 of them now have the following features:

  1. All use the same javascript file, which will only get loaded once, in case you use more than 1 of the plugins
  2. No longer use external css files. Instead, the css styling is set through an option, which should be easier to configure, and also reduces http requests, speeding page load time
  3. The inline javascript portions have been moved to the footer, to improve load time
  4. Default options are now added to the database upon installation, which solves a problem that existed when trying to use them manually

In addition, Collapsing Links and Collapsing Pages can now be used as either a widget or manually.

All of these updates are available in the development version of each of the respective download locations on the wordpress plugin repository. I am leaving them in the development version for a little while, in the hopes that some users will test them out, and I can fix some bugs before releasing them as a new version.

There is one caveat: I have been doing some testing with WP 2.7beta, and after many hours of frustration today, I never did figure out why the widgets were not showing up after adding them to the sidebar and saving. I did discover though, that if you select „show unused widgets“, then add them, that they get added just fine. If anyone has any hint on why this would be the case, and how to get them to work completely right under 2.7, I would be very happy indeed.