This plugin allows you to create a container for spoilers within pages, posts, comments, and widgets. Also supports spoiler groups.
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: EasySpoiler Tutorial