Simple Spoiler

描述

Use spoilers to hide some content on the page using shortcode. On the settings page, you can specify the color of the spoiler.

How to use

Example: [spoiler]Spoiler content[/spoiler]

Example: [spoiler title="Show spoiler"]Spoiler content[/spoiler]

Translations

You can translate Simple Spoiler on translate.wordpress.org.

屏幕截图

  • Manage color settings
  • Use of shortcodes in HTML editor
  • Preview spoilers in page content

安装

  1. Upload folder simple-spoiler to the /wp-content/plugins/ directory;
  2. Activate the plugin through the ‘Plugins’ menu in WordPress;
  3. Place shortcode in your content.

常见问题

How do I can customize design of the spoiler?

To change color layout of a spoiler, please, go to options page.

评价

2021 年 5 月 15 日
Thank you for developing this plugin. I wanted something simple with minimal configuration and this shortcode and control over the colors is wonderful. Thank you.
2018 年 12 月 31 日
Задумка хорошая, но не увидел кнопку в редакторе. Каждый раз в ручную прописывать, это прошлый век.
阅读所有6条评价

贡献者及开发者

「Simple Spoiler」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Simple Spoiler」插件已被翻译至 6 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Simple Spoiler」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.5

  • Fixed Cross Site Scripting (XSS) vulnerability.
  • Improved code performance and security.

1.4

  • Fixed Unauthenticated Arbitrary Shortcode Execution vulnerability in comments.

1.3

  • Fixed Cross Site Scripting (XSS) vulnerability.

1.2

  • Added support spoiler shortcode for comments.
  • Added settings for change spoiler border color.

1.1

  • Fix undefined constant ‘title’.

1.0

  • Initial release.