Este plugin não foi testado com as 3 atualizações principais mais recentes do WordPress. Pode ser que não tenha mais manutenção ou suporte e talvez tenha problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Inline Spoilers

Descrição

The plugin allows to create content spoilers with simple shortcode.

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

Imagens de tela

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

Blocos

Este plugin disponibiliza 1 bloco.

  • Inline Spoilers

Instalação

  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?

Just override classes defined in styles/inline-spoilers-styles.css with your theme styles.

Avaliações

19 de outubro de 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 de março de 2019
Works like a charm once you know that you can't have spaces in a title. Use   instead and everything is fine.
24 de dezembro de 2017
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!
3 de setembro de 2016
I like the way it does:)
Leia todas as 10 avaliações

Colaboradores e desenvolvedores

“Inline Spoilers” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

“Inline Spoilers” foi traduzido para 1 localização. Agradecemos aos tradutores por suas contribuições.

Traduzir “Inline Spoilers” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

1.5.1

  • Fix Inline Spoiler block doesn’t appear in Guttenberg editor (https://wordpress.org/support/topic/block-folder-is-missing/).

1.5.0

  • Make flag for non-optimized script & style loading to prevent issues on some child themes (see https://wordpress.org/support/topic/spoiler-doesnt-show-up/ for more information)

    wp-config.php:


    /** Set FALSE to disable ‘Inline Spoliers’ plugin script & style optimization
    define( ‘IS_OPTIMIZE_LOADER’, false );

    /* That’s all, stop editing! Happy publishing. */

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