Title: BBSpoiler
Author: Flector
Published: <strong>2014 年 8 月 21 日</strong>
Last modified: 2025 年 5 月 19 日

---

搜索插件

![](https://ps.w.org/bbspoiler/assets/banner-772x250.png?rev=1178432)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/bbspoiler/assets/icon-256x256.png?rev=1178432)

# BBSpoiler

 作者：[Flector](https://profiles.wordpress.org/flector/)

[下载](https://downloads.wordpress.org/plugin/bbspoiler.zip)

 * [详情](https://cn.wordpress.org/plugins/bbspoiler/#description)
 * [评价](https://cn.wordpress.org/plugins/bbspoiler/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/bbspoiler/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/bbspoiler/#developers)

 [支持](https://wordpress.org/support/plugin/bbspoiler/)

## 描述

You can use this plugin to hide part of the text of a post in a nicely-formatted
container that will becomes unhidden when clicked on. The plugin can be useful for
creating FAQ pages, hiding large pictures, and things like that.

The plugin creates its own “Spoiler” button in the visual editor, but you can also
add spoilers directly using tags. For example:

    ```
    [spoiler title='Title']Spoiler content[/spoiler]
    ```

or

    ```
    [spoiler title='Title' collapse_link='no']Spoiler content[/spoiler]
    ```

If you liked my plugin, please **rate** it.

## 屏幕截图

[⌊"Spoiler" button and plugin dialog window.⌉⌊"Spoiler" button and plugin dialog
window.⌉[

“Spoiler” button and plugin dialog window.

[⌊Sample spoiler.⌉⌊Sample spoiler.⌉[

Sample spoiler.

[⌊Sample spoiler with pictures.⌉⌊Sample spoiler with pictures.⌉[

Sample spoiler with pictures.

[⌊Second-level spoilers within a primary spoiler.⌉⌊Second-level spoilers within 
a primary spoiler.⌉[

Second-level spoilers within a primary spoiler.

[⌊Spoiler in bbPress topic.⌉⌊Spoiler in bbPress topic.⌉[

Spoiler in bbPress topic.

[⌊All color styles.⌉⌊All color styles.⌉[

All color styles.

## 安装

 1. Upload **bbspoiler** folder to the **/wp-content/plugins/** directory.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. That’s all.

You can find the “Spoiler” plugin button in the visual editor.

## 常见问题

### How do I indent paragraphs in spoiler text?

This spoiler code gives you three paragraphs of text:

    ```
    [spoiler title='Title' collapse_link='true']First Paragraph

    Second Paragraph

    Third Paragraph[/spoiler]
    ```

### Can I use spoilers within spoilers?

Yes, but only up to two levels. Use the number 2 in the shortcode.
 The code should
look like this:

    ```
    [spoiler title='Parent']

    [spoiler2 title='Child 1']text[/spoiler2]
    [spoiler2 title='Child 2']text[/spoiler2]

    [/spoiler]
    ```

### Does the plugin support localization?

Yes, please use [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/bbspoiler).

## 评价

![](https://secure.gravatar.com/avatar/658f3413e405f248aef001cb16498fccf4c68ade6a51315694e42f2321fd2520?
s=60&d=retro&r=g)

### 󠀁[need a updates](https://wordpress.org/support/topic/need-a-updates/)󠁿

 [anderswihlgaard](https://profiles.wordpress.org/anderswihlgaard/) 2023 年 5 月
2 日

It was a problematic weak point found in BBSpoiler Plugin to 2.01 on WordPress (
WordPress Plugin). Which affects an unknown function of the Shortcode Handler component.
Manipulation of an unknown input leads to a vulnerability class cross site scripting
weak point. The weak point is published on 20/04/2023 (not defined). The advisory
is available for download at wordfence dot com. This vulnerability is treated as
CVE-2023-23873. There are no technical details still an exploit known. There is 
no known information on measures. The use of an alternative product is useful.

![](https://secure.gravatar.com/avatar/110c30ec54df1412febab63144de2c3c2210e15962da32e742260df70500232b?
s=60&d=retro&r=g)

### 󠀁[Всё работает](https://wordpress.org/support/topic/%d0%b2%d1%81%d1%91-%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d0%b5%d1%82-9/)󠁿

 [kotden](https://profiles.wordpress.org/kotden/) 2023 年 4 月 27 日

все отлично работает! Проверял на версии 6.2

![](https://secure.gravatar.com/avatar/817bedc5d7a8ddde653f8b388524b3b2d3c13c10d19d14e03b3446f571f2cb5f?
s=60&d=retro&r=g)

### 󠀁[Отличный плагин!](https://wordpress.org/support/topic/%d0%be%d1%82%d0%bb%d0%b8%d1%87%d0%bd%d1%8b%d0%b9-%d0%bf%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-830/)󠁿

 [velozavr](https://profiles.wordpress.org/velozavr/) 2022 年 8 月 12 日

Этот плагин использую в своем проекте. Для бесплатного плагина функционал очень 
хороший. Пользуюсь пока только созданием простейших спойлеров одного цвета. Большое
спасибо разработчикам! I use this plugin in my project. For a free plugin, the functionality
is very good. So far, I use only the creation of the simplest spoilers of the same
color. Many thanks to the developers!

![](https://secure.gravatar.com/avatar/ebb924ed56f5bb7469ae95735217ca016cca10b53e2f71ba60b16652f9f5bf2b?
s=60&d=retro&r=g)

### 󠀁[Отлично работает](https://wordpress.org/support/topic/%d0%be%d1%82%d0%bb%d0%b8%d1%87%d0%bd%d0%be-%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d0%b5%d1%82-24/)󠁿

 [eugeniotf](https://profiles.wordpress.org/eugeniotf/) 2020 年 6 月 17 日

Спасибо

![](https://secure.gravatar.com/avatar/07f52a889423493eb5d64ae5cf6baee8819d2c2dcd9b09d9965907c3bb0ae15d?
s=60&d=retro&r=g)

### 󠀁[Просто и ничего лишнего](https://wordpress.org/support/topic/%d0%bf%d1%80%d0%be%d1%81%d1%82%d0%be-%d0%b8-%d0%bd%d0%b8%d1%87%d0%b5%d0%b3%d0%be-%d0%bb%d0%b8%d1%88%d0%bd%d0%b5%d0%b3%d0%be/)󠁿

 [FBit](https://profiles.wordpress.org/fbit/) 2020 年 5 月 6 日

Простой легкий плагин без лишних наворотов

![](https://secure.gravatar.com/avatar/5a72f8c13f8291704c3a9ac09242cbb726f455b57c8a32554e4a300b795fee38?
s=60&d=retro&r=g)

### 󠀁[Отличное решение](https://wordpress.org/support/topic/%d0%be%d1%82%d0%bb%d0%b8%d1%87%d0%bd%d0%be%d0%b5-%d1%80%d0%b5%d1%88%d0%b5%d0%bd%d0%b8%d0%b5-11/)󠁿

 [liar84](https://profiles.wordpress.org/liar84/) 2020 年 4 月 22 日

Хороший плагин. Было вообще супер если бы была возможность настраивать для описания
категорий woocommerce без шорткода. Т.е. к примеру – выставляем в настройках "скрыть
описание категории под спойлер", и возможность выводить часть текста, а остальном
скрыть под спойлер.

 [ 阅读所有30条评价 ](https://wordpress.org/support/plugin/bbspoiler/reviews/)

## 贡献者及开发者

「BBSpoiler」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Flector ](https://profiles.wordpress.org/flector/)

「BBSpoiler」插件已被翻译至 10 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/bbspoiler/contributors)
为本插件所做的贡献。

[帮助将「BBSpoiler」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bbspoiler)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/bbspoiler/)，查看[SVN仓库](https://plugins.svn.wordpress.org/bbspoiler/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/bbspoiler/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/bbspoiler/)。

## 更新日志

#### 2.02

 * js vulnerability fixed.

#### 2.01

 * fixed “ReferenceError” bug.
 * removed the bundled languages in favour of language packs from translate.wordpress.
   org

#### 2.00

 * added 10 different color styles

#### 1.01

 * added support for bbPress

#### 1.00

 * first version

## 额外信息

 *  版本 **2.02**
 *  最后更新：**1 年前**
 *  活跃安装数量 **4,000+**
 *  WordPress 版本 ** 3.9 或更高版本 **
 *  已测试的最高版本为 **6.8.12**
 *  语言
 * [English (US)](https://wordpress.org/plugins/bbspoiler/) 、 [German](https://de.wordpress.org/plugins/bbspoiler/)、
   [Italian](https://it.wordpress.org/plugins/bbspoiler/) 、 [Russian](https://ru.wordpress.org/plugins/bbspoiler/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/bbspoiler/) 、 [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/bbspoiler/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/bbspoiler/) 、 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/bbspoiler/)、
   [Swedish](https://sv.wordpress.org/plugins/bbspoiler/) 、 [Turkish](https://tr.wordpress.org/plugins/bbspoiler/)
   和 [Ukrainian](https://uk.wordpress.org/plugins/bbspoiler/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/bbspoiler)
 * 标签
 * [Box](https://cn.wordpress.org/plugins/tags/box/)[boxes](https://cn.wordpress.org/plugins/tags/boxes/)
   [collapse](https://cn.wordpress.org/plugins/tags/collapse/)[expand](https://cn.wordpress.org/plugins/tags/expand/)
   [hide](https://cn.wordpress.org/plugins/tags/hide/)
 *  [高级视图](https://cn.wordpress.org/plugins/bbspoiler/advanced/)

## 评级

 4.7 星（最高 5 星）。

 *  [  27 条 5 星评价     ](https://wordpress.org/support/plugin/bbspoiler/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/bbspoiler/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/bbspoiler/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/bbspoiler/reviews/?filter=2)
 *  [  2 条 1 星评价     ](https://wordpress.org/support/plugin/bbspoiler/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/bbspoiler/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/bbspoiler/reviews/)

## 贡献者

 *   [ Flector ](https://profiles.wordpress.org/flector/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/bbspoiler/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://goo.gl/CcxWYg)