Title: wpSpoiler
Author: Felix Triller
Published: <strong>28 Março, 2007</strong>
Last modified: 31 Maio, 2008

---

Procurar plugins

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

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

# wpSpoiler

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

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

 * [Detalhes](https://pt.wordpress.org/plugins/wpspoiler/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/wpspoiler/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/wpspoiler/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/wpspoiler/#developers)

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

## Descrição

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

## Ecrãs

[⌊Hidden⌉⌊Hidden⌉[

Hidden

[⌊Visible⌉⌊Visible⌉[

Visible

## Instalação

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

## Avaliações

Este plugin não tem avaliações.

## Contribuidores e programadores

“wpSpoiler” é software de código aberto. As seguintes pessoas contribuíram para 
este plugin:

Contribuidores

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

[Traduza o “wpSpoiler” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/wpspoiler)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/wpspoiler/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/wpspoiler/), ou subscreva 
o [registo de alterações](https://plugins.trac.wordpress.org/log/wpspoiler/) por
[RSS](https://plugins.trac.wordpress.org/log/wpspoiler/?limit=100&mode=stop_on_copy&format=rss).

## Metadados

 *  Versão **1.2**
 *  Última actualização **Há 18 anos**
 *  Instalações activas **300+**
 *  Versão do WordPress ** 2.0 ou superior **
 *  Testado até **2.5.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wpspoiler/)
 * Etiquetas
 * [hide](https://pt.wordpress.org/plugins/tags/hide/)[post](https://pt.wordpress.org/plugins/tags/post/)
   [show](https://pt.wordpress.org/plugins/tags/show/)[spoiler](https://pt.wordpress.org/plugins/tags/spoiler/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/wpspoiler/advanced/)

## Classificações

 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)

[Ver todas as revisões](https://wordpress.org/support/plugin/wpspoiler/reviews/)

## Contribuidores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/wpspoiler/)