This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of 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.



  • 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


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;


very nice

I’ve long been looking for a spoiler plugin for my forum, and this works smoothly

Read all 3 reviews

Contributors & Developers

“Spoiler Block” is open source software. The following people have contributed to this plugin.


Translate “Spoiler Block” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



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


  • Added function to close the spoiler block when user click


  • Added Romanian translation by Alexander Ovsov


  • Change contact e-mails and sites urls


  • Bug fixes


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


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


  • Correction in CSS Queue.


  • Add missing files to WordPress SVN