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.

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.

후기

2020년 April 22일
Хороший плагин. Было вообще супер если бы была возможность настраивать для описания категорий woocommerce без шорткода. Т.е. к примеру - выставляем в настройках "скрыть описание категории под спойлер", и возможность выводить часть текста, а остальном скрыть под спойлер.
2019년 February 19일
Ребят не знаю почему, но у меня после обновления он перестал работать. Перегружаю из админки все тоже самое
2019년 February 8일
Настолько прост и универсален в применении, что использую его даже в гутенберге. Используя ".sp-wrap-default" - легко подогнал дефолтный стиль спойлера под дизайн своего сайта.
모든 26 평가 읽기

기여자 & 개발자

“BBSpoiler”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“BBSpoiler”(이)가 6(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “BBSpoiler”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.

변경이력

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