This plugin allows you to easily create spoilers with a shortcode. An attractive, animated container with a hint to its content and a show/hide button are created. Admin control panel allow you to tailor various aspects and colors of the spoiler.
Toolbar buttons are (optionally) added to the HTML editor to make adding spoilers in your posts very easy. Just highlight the HTML you want hidden and click on ‘spoiler’. Or, highlight a series of spoilers and click on ‘spoiler group’ for the grouping effect.
You can put spoilers within
Note that if you use it within comments, it is smart enough to not expand embedded shortcodes as this would allow end-users posting comments to invoke any of your site’s shortcodes.
An administrator page allows you to configure various settings.
The shortcode format is:
[spoiler title=”Secret location of the code”]It’s in the dresser[/spoiler]
For a complete example and more detailed documentation, visit the plugin home page. If you do not understand these instructions, please ask questions in the comments section on the plugin home page. We will be more than happy to answer them.
There are a lot of options including colors, controls, and animation behavior.
Go here for up-to-date usage and examples:
For an up-to-date FAQ, please visit:
Simple,easy to use plugin for embedding slides and ad rotators.
- Fix: some CSS hardening against aggressive wordpress themes
- Fix for WordPress 3.3+ editor buttons
- Support for Right-to-Left languages and format. Option is located on admin panel under ‘global defaults’.
- Support to use your theme’s native text color for spoiler title and button text when using easyspoiler’s native theme.
Note this feature is ignored if you have enabled custom colors. The button and title theme enable options are located
on the admin panel in title and button options, respectively.
- Fix for fireFox issue with spoilergroups causing a reload of the page when opened.
- Fix for fireFox show button not changing to ‘hide’
- Fix for spoiler group aesthetics where padding was incorrect
- Removed dashed inner border
- You can now embed shortcodes within the spoiler title via a new enable/disable checkbox on the admin panel. Note you cannot use the angular brackets. Rather, you use parens: (myshortcode)xxx(/myshortcode). You can replace the use of parens with something else in the admin panel as well.
- Brought back original button style
- The ‘flat’ option for buttons is available with button style option on admin panel
- Can style the title (font size, bold options) using admin panel
- Some style bug-fixes with the buttons
- Flat, more subtle buttons
- Option for using title as the show/hide toggle now changes mouse pointer to indicate it is an actionable area
- Improved iframe support
- new select button option which will provide a ‘select’ button on the title bar for auto-selecting the
- Admin option to enable/disable select button feature and to configure the text of the select button
- You can now configure the titlebar to be the open/close button.
- The speed of the spoiler open/close animations can now be customized.
- New option to force-refresh iframes if they are within a spoiler and you have issues with them.
- Editor button fixes for WP3.1
- Some CSS tweaks to help with more aggressive themes
- Added new theme color helpers in admin menu. Easy configuration of several color attributes.
- W3C HTML validation of the generated output.
- Added HTML editor integration. You can turn off the buttons via a new admin panel option.
- Small admin panel bugfix
- Link to support form in admin panel
- Empty function call removed
- New admin config page where you can assign your own default shortcode values
- Override the show/hide text of the spoiler buttons
- Animations during open/close. You can turn them off if desired.
- With the new optional spoilergroup tag you can enclose multiple spoiler tags together. Easy Spoiler will visually group them and auto-close any related spoiler when the user opens another from the same group.
- Can be inserted within comments, and within widgets. Comment insertion prevents embedded shortcode expansion (i.e. if the spoiler itself contains other shortcodes, they will not be expanded) for security concerns.
- First public release