WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Felix Triller v1.2

wpSpoiler

A plugin designed to protect the reader against spoilers.

wpSpoiler

The facts

Rating
4★ from 1
Active installs
300+
Price
Free
Last updated
31 May 2008
Added
Mar 2007
Requires WP
2.0
Tested up to
WP 2.5.1
Downloads
18,416

Our analysis

AI-assisted

wpSpoiler is a WordPress plugin that allows you to protect readers from spoilers in content such as book or film reviews. By enclosing text with [spoiler] and [/spoiler], the spoiler content is hidden by default and can be revealed by the reader if they choose.

The plugin is designed to be fast and offers some customisation options through CSS. Users can modify the appearance of the spoiler box and links, although changes to the link text must be made directly in the plugin file.

Best for: This plugin suits bloggers and content creators who want to include spoiler alerts in their posts.

What it does well

  • Protects readers from spoilers
  • Fast performance with minimal code
  • Customisable with CSS for styling

Where it falls short

  • Limited information available on features
  • Requires manual editing of plugin file for link text changes
  • Last updated in May 2008, may not support newer WordPress versions

Verdict

wpSpoiler provides a straightforward solution for managing spoilers in content, but its outdated status and limited features may be a concern for some users.

From the developer

Felix Triller's own description of wpSpoiler, lightly tidied.

wpSpoiler is a plugin for WordPress, designed to protect the reader against spoilers, for example in book or filmreviews.
The spoiler text is hidden by default and shows up if wished.

To mark a text as spoiler, enclose the passage with [spoiler] and [/spoiler].

Features

  • Very fast, less code
  • Customizeable with CSS

A german version of this page can be found here.
Eine deutsche Version dieser Seite ist hier zu finden.

Usage

To mark a text as spoiler, enclose the passage with [spoiler] and [/spoiler].
Example:
Spoiler: [spoiler]Bruce Willis is a ghost![/spoiler]

The result is shown in the screenshot section.

Customize

The language of the link text has to be changed in the pluginfile itself: wpSpoiler.php.

CSS can be used to style the spoiler box and the links. The spoiler-div is identified by the classname spoiler_div.
The link’s class is spoiler_link_show or spoiler_link_hide, depending on the current state.

An example stylesheet code snippet:

/* wpSpoiler */
a.spoiler_link_show,
a.spoiler_link_hide {
    background-repeat:      no-repeat;
    background-position:    left center;
    padding-left:           18px;
}
a.spoiler_link_show {
    background-image:       url(images/add.png);
}
a.spoiler_link_hide {
    background-image:       url(images/delete.png);
}
div.spoiler_div {
    background-color:       #ddd;
    margin-top:             -10px;
    padding:                2px;
}

Read the full description on the official page →

Tagged as

topic Hide Show Protect