Text Expander Plugin
Allows you to define areas of text that expand/collapse when clicked.
Website-elements which are collapsable help avoiding visual noise these days and give control to the user, what they want to see. Dagon Design developed a WordPress-Plugin called “Expanding Text” which enables a blogger to make any part of a post collapsable. I wasn’t entirely convinced with it, so I forked my own plugin.
Improvements compared to Expanding Text
- You can freely choose a text to be shown in front of the expand-link (default is a double-arrow), which indicates whether the part is collapsed or expanded next
- the expand-part will expand via a jQuery-animation. This looks a lot better, than having the text just appear all of the sudden.
- You can add expanding text directly with a media-button in the article editor
Installation
Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.
Changelog
0.4
- improved expander-function
- the collapse link and the element-before it can now be styled with CSS using .collapse-text and .collapse-pre
0.3
- fixed bug where Expander-titles were mixed
- fixed bug where Text Expander wasn’t working when jQuery hasn’t been already loaded by another plugin
0.2
- added a media button in the post-editor to add expanding text more directly
- add settings to customize the text prepending the expand-link
0.1