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.
  • Sample spoiler.
  • Sample spoiler with pictures.
  • Second-level spoilers within a primary spoiler.
  • Spoiler in bbPress topic.
  • 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.

使用者評論

2024 年 6 月 28 日
I am disappointed. This plugin cannot work with text columns; it stretches the text horizontally. Another plugin (Simple Spoiler) can work with text columns, but it is inconvenient to work with.
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.
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!
閱讀全部 30 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈BBSpoiler〉的開發相關工作。

參與者

〈BBSpoiler〉外掛目前已有 9 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈BBSpoiler〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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