Plugin info

Total downloads: 18,008
Active installs: 400
Total reviews: 1
Average rating: 4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 5/31/2008 (6422 days ago)
Added to WordPress: 3/28/2007 (18 years old)
Minimum WordPress version: 2.0
Tested up to WordPress version: 2.5.1
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 6422 days ago • 1 reviews

22/100

Is wpSpoiler abandoned?

Possibly abandoned (last update 6422 days ago).

Compatibility

Requires WordPress: 2.0
Tested up to: 2.5.1
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Simple Spoiler
Rating 4.5/5 (6 reviews)Active installs 2,000
Inline Spoilers
Rating 4.6/5 (14 reviews)Active installs 1,000
OtFm Gutenberg Spoiler – (or FAQ) collapse block
Rating 5.0/5 (5 reviews)Active installs 900
Advanced Spoiler
Rating 5.0/5 (1 reviews)Active installs 700
Simple Accessible Spoilers
Rating 5.0/5 (1 reviews)Active installs 100
Spoiler Block
Rating 5.0/5 (3 reviews)Active installs 90

Description

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;
}

Installation

To install the plugin follow the listed steps:

  1. Download the package
  2. Decompress the archive, customize wpSpoiler.php and upload the wpspoiler folder to /wp-content/plugins/ on your webspace
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. Hidden

    Hidden

  2. Visible

    Visible

Changelog

No changelog available