This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Collapsing Objects


Collapsing objects wraps anything enclosed in expand tags into a collapsible div. This is a work in progress and may be a little bit messy due to me not having done much with PHP in a while and being new to wordpress.

Please note that this requires javascript, if you expect visitors with javascript disabled please do NOT use this plugin!

I made a couple of mistakes before when submitting such as leaving a wrong hardcoded path in the script and messing up the versioning due to not knowing how WordPress plugin indexing worked. This is now fixed and I have added a working example on my blog. Sorry for any inconvenience, please inform me if there are still issues


Wrap your text/content in [expand] tags with a title eg:

[expand title=hello]This is my expanding content[/expand]

You MUST specify a title!



22nd May 2008:

Fixed expanding or collapsing pushing back to the top of page

21st May 2008:

Fixed problems with readme


Copy the collapsing objects folder into wp-content/plugins and activate in the plugins section of the admin panel.

Contributors & Developers

“Collapsing Objects” is open source software. The following people have contributed to this plugin.


Translate “Collapsing Objects” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.