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.



Minimalistic accordion plugin. Text expander plugin. Just like popcorn. Click and pop.

Use it to toggle (show/hide) blocks of text, by inserting a simple shortcode:

[wpex more="Read more" less="Read less"]hidden text[/wpex]

Replace “Read more” and “Read less” with your desired text. Use .wpex-link class to style the links.

Use a different class to style the links by using a custom class:

[wpex class="wpex-link" more="Read more" less="Read less"]hidden text[/wpex]


  1. Upload the plugin folder to your /wp-content/plugins/ directory
  2. Activate the plugin via the Plugins menu in WordPress
  3. Create and publish a new page and add this shortcode: [wpex more="Read more" less="Read less"]hidden text[/wpex]
  4. If you upgraded from 0.1.x change your [wpex Read more] to [wpex more="Read more" less="Read less"]


Awesome!! Please update

It seems to work just fine with the latest version of WP… and it seems ridiculously simple, so there probably isn’t that much that can break. But it would be nice to see this updated so it’s officially compatible.

Cracking work otherwise. SO simple, so good. It’s done exactly what I needed it to.

Simple and good!

This tool is very simple, but it does exactly what it should do. What is missing is a button in the editor to insert an expander. Possibly a css-style and animations. But that does not mandatory have to be. It is as it is, very well

Works great

Works as it should, and Ciprian was extremely helpful and efficient in helping to fix a niggling problem with the plugin on our site.
Many thanks.

Amazing plugin

Outstanding plugin for templates that doesn’t have the “read more” option. I really appreciate its simplicity and especially the fact that does not generate any conflicts with other plugins. I highly recommend it! It’s the best I tried so far.

Read all 20 reviews

Contributors & Developers

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


Translate “Expander” into your language.

Interested in development?

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



  • FIX: Removed old compatibility code for embedded shortcodes
  • UPDATE: Removed version constant, as the plugin doesn’t have a dedicated settings page


  • UPDATE: Updated formatting and removed a line break in the expander string


  • UPDATE: Updated tags and URLs


  • UPDATE: Added widget shortcode filter
  • UPDATE: Minified and moved Javascript to footer
  • FEATURE: Added custom link class (@dccharron)


  • UPDATE: Updated WordPress compatibility


  • GENERAL: Added license link
  • GENERAL: Added donate link


  • FIX: Fixed paragraphs exploding from parent div
  • FIX: Fixed quotes not being properly escaped


  • FIX: Fixed shortcode nesting


  • FIX: Fixed wpautop() issue
  • FEATURE: Added internal version


  • FEATURE: Added “Read more”/”Read less” feature
  • IMPROVEMENT: New shortcode structure (see plugin description)
  • IMPROVEMENT: Removed filters
  • PERFORMANCE: Moved shortcode creation to plugin init()
  • PERFORMANCE: Merged all Javascript code

  • Checked WordPress 3.8-beta compatibility

  • First public release