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 y
About this tool.
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 & previews.
Getting started.
- 01Upload bbspoiler folder to the /wp-content/plugins/ directory.
- 02Activate the plugin through the Plugins menu in WordPress.
- 03That’s all.
You can find the “Spoiler” plugin button in the visual editor.
Frequently asked questions.
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 .