Inline Spoilers

Description

The plugin allows to create content spoilers with simple shortcode.

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

Screenshots

  • Guttenberg block
  • Spoiler shortcode [spoiler][/spoiler]
  • Collapsed spoiler
  • Expanded spoiler

Installation

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

FAQ

How can I customize design of the spoiler?

To change layout of a spoiler, please, edit styles/inline-spoilers-styles.css file.

Reviews

Great plugin

Works like a charm once you know that you can't have spaces in a title. Use   instead and everything is fine.

Easy and right spoiler plugin

I've tried 9 plugins for spoilers. Only 2 of them allow you to read the text if javascript is disabled. And only this plugin works correctly with the theme customizr. Super!
Read all 8 reviews

Contributors & Developers

“Inline Spoilers” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Inline Spoilers” into your language.

Interested in development?

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

Changelog

1.4.1

  • Fix https://wordpress.org/support/topic/fatal-error-when-activating-the-plugin-10/

1.4.0

  • Introduce Guttenberg block to create spoilers (special thanks to Sergey Zaytsev for doing most of things)

1.3.8

  • Allow empty spoiler title by default

1.3.7

  • Refactor deployment strategy to support multiply revisions for the same plugin version

1.3.3

  • Fix https://wordpress.org/support/topic/notice-undefined-variable-extra-in-wp-content-plugins-inline-spoilers-inlin/

1.3.2

  • Compatibility up to WordPress 4.9.8

1.3.1

  • Always show spoiler contents while javascript is disabled

1.2.8

  • Setup automated deployment with TravisCI

1.2.5

  • Balance content html tags

1.2.4

  • Add WP_DEBUG mode
  • Fix incorrect paragraph tags inside the spoiler

1.2.3

  • JavaScript bug fix

1.2.2

  • Update spoiler default behaviour

1.1.2

  • Update Russian translation
  • Add attribute ‘initial_state’ to define default state of a spoiler initial_state=(expanded|collapsed). Default state is ‘collapsed’
  • Security updates

1.0.2

  • Update Russian translation

1.0.1

  • Release the plugin