Plugin info

Total downloads: 75,583
Active installs: 1,000
Total reviews: 14
Average rating: 4.6
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 5 language(s)
Contributors: 2
Last updated: 2/17/2025 (317 days ago)
Added to WordPress: 5/27/2014 (11 years old)
Minimum WordPress version: 6.6
Tested up to WordPress version: 6.7.4
Minimum PHP version: 7.2

Maintenance & Compatibility

Maintenance score

Stale • Last updated 317 days ago • 14 reviews

42/100

Is Inline Spoilers abandoned?

Likely maintained (last update 317 days ago).

Compatibility

Requires WordPress: 6.6
Tested up to: 6.7.4
Requires PHP: 7.2

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Custom block fancy image link
Rating 0.0/5 (0 reviews)Active installs 0

Description

The plugin allows to create content spoilers with Guttenberg block or simple shortcode.

[spoiler title="Expand Me"]Spoiler content[/spoiler]

Installation

  1. Install via WordPress Dashboard or upload inline-spoiler.zip;
  2. Activate the plugin through the ‘Plugins’ menu in WordPress;
  3. Use Guttenberg block or shortcode in your content;

Frequently Asked Questions

How can I customize design of the spoiler?

Just override classes defined in build/style-index.css with your theme styles.

Review feed

No reviews available

Screenshots

  1. Guttenberg block

    Guttenberg block

  2. Spoiler shortcode <code>[spoiler][/spoiler]</code>

    Spoiler shortcode [spoiler][/spoiler]

  3. Collapsed spoiler

    Collapsed spoiler

  4. Expanded spoiler

    Expanded spoiler

Changelog

2.1.0

  • Fixed interaction with links & other interactive elements inside the spoiler
  • Fixed styling for the spoiler made with the shortcode, when there is no spoiler block

EXPERIMENTAL

  • Provide support for dynamic shortcodes [spoiler-{variable}] (e.g. [spoiler-alpha], [spoiler-beta], etc.)

Set IS_DYNAMIC_SHORTCODE to true in wp-config.php to enable the feature: define('IS_DYNAMIC_SHORTCODE', true);

Usage example:

[spoiler-alpha title="Parent"]
    [spoiler-beta title="The First Child"]
        Hello World!
        [spoiler-gamma title="Grand Child"]
            I was born!
        [/spoiler-gamma]
    [/spoiler-beta]
    [spoiler-beta title="The Second Child"]
        Goodbye World!
    [/spoiler-beta]
[/spoiler-alpha]

2.0.0

  • Change spoiler HTML semantic (from div to details & summary)
    • All blocks created with the previous version of Guttenberg block will be the same as before, until you edit them
  • Allow spoilers inside spoilers (as well as any other Guttengerg blocks allowed in post)

WARNING
* Minimal required WordPress version is 6.6 (for JSX support, JSX in WordPress 6.6)
* The plugin is not fully tested with PHP versions lower than 8.1 due to the lack of available official docker images

OLDER VERSIONS