BBSpoiler

Descrição

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.

Imagens de tela

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

Instalação

  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.

Avaliações

22 de abril de 2020
Хороший плагин. Было вообще супер если бы была возможность настраивать для описания категорий woocommerce без шорткода. Т.е. к примеру - выставляем в настройках "скрыть описание категории под спойлер", и возможность выводить часть текста, а остальном скрыть под спойлер.
19 de fevereiro de 2019
Ребят не знаю почему, но у меня после обновления он перестал работать. Перегружаю из админки все тоже самое
8 de fevereiro de 2019
Настолько прост и универсален в применении, что использую его даже в гутенберге. Используя ".sp-wrap-default" - легко подогнал дефолтный стиль спойлера под дизайн своего сайта.
Leia todas as 26 avaliações

Contribuidores e desenvolvedores

“BBSpoiler” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Contribuidores

“BBSpoiler” foi traduzido para 6 localidades. Agradecemos aos tradutores por suas contribuições.

Traduzir “BBSpoiler” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

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