BBSpoiler

Description

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.

Screenshots

  • "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.

Installation

  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.

FAQ

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.

Reviews

simply good

worked with a childtheme (css) and had a look in the support – every question was answered … wonderful!

button not show

Spoilers work good. but only in manual mode. button in text editor panel not show) i must write spoiler code manually…How to enable button in editor panel?

Fast, Simple, Easy and Eye Catching

Before I found this plugin, I tried to make spoiler manual with html text editor, but It’s hard if in my post had so many contents changed to be spoilers, This plugin help me to make spoiler Fast, Simple, Easy and Eye Catching for example in my Indinesian Blog here, Working Perfect. Great thanks for Author.. !

Read all 14 reviews

Contributors & Developers

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

Contributors

Translate “BBSpoiler” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

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