這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Spoiler Block

外掛說明

This plugin create a button in your WordPress editor to set some parts of your posts as spoilers.
These parts show a blocked content to your visitors, then must click in these blocks to show the original content.

Translators

螢幕擷圖

  • Wordpress Editor with Spoiler Block button
  • Editing a spoiler post
  • Show a post with spoiler
  • Show a post with spoiler open

安裝方式

To do a new installation of the plugin, please follow these steps:

  1. Download the zipped plugin file to your local machine.
  2. Unzip the file.
  3. Upload the spoiler-block folder to the /wp-content/plugins/ directory.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress.
  5. Optionally, go to the Options page and set a new spoiler alert.

If you have already installed the plugin:

  1. De-activate the plugin.
  2. Download the latest files.
  3. Follow the new installation steps.

To set a Spoiler block, select a post, or create a new one, select any text then click in spoiler button in your WordPress Editor. Your text now is set as spoiler.

To remove a spoiler block, just select the spoiler block then click in spoiler button.

Brunno dos Santos
spoilerblock@brunno.me
http://brunno.me/spoiler-block

常見問題集

How can I remove a spoiler of my post?

To remove a spoiler block, just select the spoiler block then click in spoiler button.

How can I customize the spoilers blocks in my blog?

To customize the blocks of spoilers, just add the follow selectors in your css file:
* span.spoiler to spoilers closed blocks;
* span.spoiler-open to spoilers already clicked by users;

使用者評論

2017 年 7 月 27 日
I've long been looking for a spoiler plugin for my forum, and this works smoothly
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Spoiler Block〉的開發相關工作。

參與者

將〈Spoiler Block〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.7

  • Now the spoilers has a span that hidden the content the spoiler with CSS (thanks to Mario Ludwig);
  • Resolve some Bugs;

1.6.4

  • Added function to close the spoiler block when user click

1.6.3

  • Added Romanian translation by Alexander Ovsov http://webhostinggeeks.com/

1.6.2

  • Change contact e-mails and sites urls

1.6.1

  • Bug fixes

1.6

  • Resolve some bugs;
  • Add i18n support;
  • Include Brazilian Portugueses language;

1.5

  • Now you can clear spoiler block if you click in spoiler button! 🙂

1.2

  • Correction in CSS Queue.

1.1

  • Add missing files to WordPress SVN