Inline Spoilers

वर्णन

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

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

स्क्रीनशॉट

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

ब्लॉक्स

हे प्लगइन 1 ब्लॉक प्रदान करते

  • Inline Spoiler Hide text that can be revealed by clicking a button.

स्थापना

  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;

नेहमी विचारले जाणारे प्रश्न

How can I customize design of the spoiler?

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

समीक्षा

फेब्रुवारी 16, 2025
После обновления перестали работать ссылки внутри спойлера. До этого всё было прекрасно. Исправьте, пожалуйста, поскольку аналогов у Вашего плагина пока пока нет.
एप्रिल 18, 2022
“Inline” means “in the same line” (see e.g. inline CSS, inline functions in C++). This plugin only allows inserting whole separate blocks with spoilers, not creating them in the same line. 1/5 for a misleading title that draws all searches to this dead-end which does not solve the problem.
ऑक्टोबर 19, 2019
I’m using this plugin to mark NSFW parts in my blog and it works pretty good for that part. There are 2 minor problems though: 1. The plugin doesn’t show up on the paragraph’s (+) menu so I need to use [spoiler title=”NFSW”] … [/spoiler] manually each time (using WP 5.2.4). 2. I like the dark theme over the light theme and when using dark theme the text isn’t converted to white. When these 2 minor things are fixed I’ll give it a 5* rating.
मार्च 10, 2019 2 उत्तर
Works like a charm once you know that you can’t have spaces in a title. Use   instead and everything is fine.
सर्व 13 पुनरावलोकने वाचा

योगदानकर्ते आणि विकसक

“Inline Spoilers” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान केले आहे.

योगदानकर्ते

“Inline Spoilers” 4 लोकॅलसमध्ये भाषांतरित केले आहे. अनुवादकांना त्यांच्या योगदानाबद्दल धन्यवाद.

भाषांतर करा “Inline Spoilers” तुमच्या भाषेत.

विकासातील आग्रह?

कोड ब्राउझ करा, SVN संग्रहालय तपासा, किंवा विकास लॉग च्या RSS द्वारे सदस्यता घ्या.

बदलांची यादी

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