WordPress Plugin: Spoiler Tags

This plugin gives the readers a chance not to accidentally read any spoiler information until they are prepared to do so.An example of what a spoiler tag is would be visible here. The tag is only legible once the user mouse's over the content. It would be most useful for author's who write movie reviews […]
This plugin gives the readers a chance not to accidentally read any spoiler information until they are prepared to do so.An example of what a spoiler tag is would be visible here. The tag is only legible once the user mouse’s over the content. It would be most useful for author’s who write movie reviews and would like to guard their reader’s from sensitive information such as plot twists or endings. Moreover, the colors are easily customizable using CSS.

How It Works

Once the plugin has been uploaded and activated, in any post or page, you simply can encapsulate your text with <spoiler>your text here</spoiler>. Neat, huh?

Download

  1. Download the plugin (v0.2).
  2. Extract the Zip Archive
  3. Upload wp-spoiler.php to your /wp-content/plugins/ folder
  4. Go to your WordPress Administrative Console
  5. Under Options -> Writing, make sure “WordPress should correct invalidly nested XHTML automatically