Title: wpSpoiler
Author: Felix Triller
Published: <strong>मार्च 28, 2007</strong>
Last modified: मई 31, 2008

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wpspoiler.svg)

# wpSpoiler

 By [Felix Triller](https://profiles.wordpress.org/flix/)

[Download](https://downloads.wordpress.org/plugin/wpspoiler.1.2.zip)

 * [Details](https://mai.wordpress.org/plugins/wpspoiler/#description)
 * [Reviews](https://mai.wordpress.org/plugins/wpspoiler/#reviews)
 *  [Installation](https://mai.wordpress.org/plugins/wpspoiler/#installation)
 * [Development](https://mai.wordpress.org/plugins/wpspoiler/#developers)

 [Support](https://wordpress.org/support/plugin/wpspoiler/)

## 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](http://felixtriller.de/projekte/wpspoiler/).

Eine deutsche Version dieser Seite ist [hier](http://felixtriller.de/projekte/wpspoiler/)
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;
    }
    ```

## Screenshots

 * [[
 * Hidden
 * [[
 * Visible

## 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

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“wpSpoiler” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Felix Triller ](https://profiles.wordpress.org/flix/)

[Translate “wpSpoiler” into your language.](https://translate.wordpress.org/projects/wp-plugins/wpspoiler)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wpspoiler/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/wpspoiler/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/wpspoiler/) by [RSS](https://plugins.trac.wordpress.org/log/wpspoiler/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.2**
 *  Last updated **18 years ago**
 *  Active installations **400+**
 *  WordPress version ** 2.0 or higher **
 *  Tested up to **2.5.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wpspoiler/)
 * Tags
 * [hide](https://mai.wordpress.org/plugins/tags/hide/)[post](https://mai.wordpress.org/plugins/tags/post/)
   [show](https://mai.wordpress.org/plugins/tags/show/)[spoiler](https://mai.wordpress.org/plugins/tags/spoiler/)
 *  [Advanced View](https://mai.wordpress.org/plugins/wpspoiler/advanced/)

## Ratings

 4 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/wpspoiler/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/wpspoiler/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wpspoiler/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wpspoiler/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wpspoiler/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wpspoiler/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wpspoiler/reviews/)

## Contributors

 *   [ Felix Triller ](https://profiles.wordpress.org/flix/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wpspoiler/)