Skip to content
Sign in

Advanced Spoiler

Show or hide contents(text, image etc.) with animated effects wrapped by spoiler markup tag([spoiler][/spoiler]).

Not scanned yet WordPress plugin 500 installs

Install in

No install steps yet

Follow the steps on the source page.

New version of Ajax Spoiler plugin renamed to ‘Advanced Spoiler’.

Show or hide contents(text, image etc.) with animated effects wrapped by spoiler markup tag([spoiler][/spoiler]).

  • Animate effects: appear, blind, slide, apblind(appear + blind), phase, simple(no animate)
  • Supports TinyMCE button and quicktags button
  • Provides option page for default effect, show text, hide text, animate speed, nested spoilers.
  • Supports ‘Simple Mode’: no aniated effects and just simple javascript.

Included Translations

Usage

Enclose any paragraphs or passages with [spoiler] and [/spoiler]

e.g.

  • simple: [spoiler] spoiler content... [/spoiler]
  • options: [spoiler effect="blind" show="Show me" hide="Hide me"] spoiler content... [/spoiler]

Written by Joobi from the project's own listing. See the source page

advanced-spoilerjqueryspoiler
20 Nov 2026
Version 2.03 released. Not scanned yet.

2.03

  • Security: fixed stored XSS through the show/hide shortcode attributes (Simple mode inline onclick, and HTML injection when the toggle label changes in jQuery mode).
  • Removed the inline onclick handler and inline script. Simple mode now loads js/simple-spoiler.js, which binds the toggle with addEventListener.
  • Show/hide labels are passed in data-show/data-hide attributes and written as plain text, never as HTML.
  • Escaped the feed link and the option page preview.
  • PHP 7/8 compatibility: removed =& new and create_function(), and fixed undefined index notices on the option page.
  • Removed the unused MooTools and Prototype scripts; jQuery is the only animated mode.
26 Apr 2009Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)