Toms Welt


Tiny Spoiler

68 Kommentare | Kommentar schreiben

Kleines Plugin für Inhalte die nicht sofort sichtbar sein sollen. Zum Beispiel Spoiler oder Frage-Antwort-Spielchen.

top secret
shows/hides this text

spoiler 2
shows/hides another text

Download bei WordPress

Tiny Spoiler 0.2

Contributors: Tom Braider
Donate link:
Tags: spoiler, secret, post
Requires at least: 2.5
Tested up to: 4.7
Stable tag: 0.2

[spoiler name="top secret"]shows/hides this text[/spoiler]


  • shows/hides text in spoiler shortcode
  • name of spoiler area can be given
  • only one little button [+] or [-]


  1. unzip plugin directory into the /wp-content/plugins/ directory
  2. activate the plugin through the Plugins menu in WordPress
  3. insert [spoiler name="top secret"]...[/spoiler] in your post or page

Frequently Asked Questions

Need Help? Find Bug?

read and write comments on plugin page

Who can i change the style?

You can change the Stylesheet in you own theme style.css.
.spoiler is the outer border/area.
.spoiler legend is the title.
.spoiler legend input is the button.
.spoiler div is the content area.


  1.">" title="1. closed and open spoiler" />
    1. closed and open spoiler

Arbitrary section

  • spoiler.php
Version 0.2
new: several spoiler can have same name
Version 0.1
  • first release
created by Readme Parser

RSS-Feed 68 Kommentare

Seiten: « 1 2 3 4
  1. Johan Johan sagt:

    Nice little plugin, thanks!
    I use it on our members page, and I have the "BlueSky" theme with a coloured background.
    The button & "name"-text have a white background.
    I have no .spoiler CSS, and as CSS default is transparent it should be transparent, right? Or am I missing something?

    A tip: A good use (my use :) ) of the plugin is to hide what has been done already.
    We (a choir) have a list of activities, and as they get done I put them away with the spoiler, so you always have the next first.
    Before I used to gray them out instead, but this is better!

  2. Andreas Andreas sagt:

    Hey, ich find das plugin auch sehr gut. Genau nach sowas habe ich gesucht. Allerdings würde ich es gerne so ändern, dass sich der inhalt öffnet, indem man auf die überschrift klickt. Ist dies möglich?

  3. [...] Eklenti Ana Sayfası Geri Dön Yorumlar: 0 Okunma: 1 defa Benzer Yazılar:WordPress için Simple Spoiler Enhanced eklentisiWordPress için Advanced Spoiler eklentisiWordPress için Wp-Note eklentisiWordPress için Dewplayer eklentisiWordPress için MP3 Player Plugin eklentisi Yazıyı Paylaş: [...]

  4. mad mad sagt:

    Hallo Tom.

    Danke für Dein Plugin. Eine Anmerkung habe ich allerdings: Wenn im [spoiler]...[/spoiler] andere Shortcodes verwendet werden, so werden diese nicht geparsed. Das ist natürlich recht ärgerlich, wenn man sie verwenden will.

    Abhilfe schafft da, wenn man in Deiner function replace_spoiler_tag() statt






    verwendet. Eventuell wäre es hilfreich, diese Änderung in die nächste Version (so es denn eine gibt) einfließen zu lassen.


  5. Ajay Ajay sagt:

    Thank you for this plugin!

    Today I had some problems, displaying comments in my child theme. After hours of investigation, I found strange behaivor in wp-includes/comment-template.php on line 913:
    $include = apply_filters('comments_template', STYLESHEETPATH . $file );
    No matter what is in $file or STYLESHEETPATH variables, $include will be empty after applying this hook filter.
    I started to look who is using this hook and tiny spoiler was the only one. If I deactivate tiny spoiler, everything works fine.
    Any ideas about how to fix it? Thank you!

  6. Sebastian Sebastian sagt:

    Very nice plugin, thanks!

    My only open wish is to make direct links to the content of one spoiler and then have it opened already. Something like the id="xyz" and refering link "a href="" - is this possible with some code? This would be great, do you have any idea how to manage this? Thanks!

Seiten: « 1 2 3 4

Schreibe einen Kommentar zu Kate

Deine E-Mail-Adresse wird nicht veröffentlicht.

:mrgreen:  :D  :)  ;)  8-)  :O  :cry:  :(  :liebhab:  :-x  :-?  :P  :roll:  :arrow:  :schwitz:  :thumbsup:  :thumbup:  :thumbdown:  :facepalm:  :?:  :!:  :eis: