Tiny Spoiler
Kleines Plugin für Inhalte die nicht sofort sichtbar sein sollen. Zum Beispiel Spoiler oder Frage-Antwort-Spielchen.
Tiny Spoiler 0.2
Contributors: Tom BraiderDonate link: www.unicef.org
Tags: spoiler, secret, post
Requires at least: 2.5
Tested up to: 2.7
Stable tag: 0.2
[spoiler name="top secret"]shows/hides this text[/spoiler]
Description
- shows/hides text in spoiler shortcode
- name of spoiler area can be given
- only one little button [+] or [-]
Installation
- unzip plugin directory into the
/wp-content/plugins/directory - activate the plugin through the
Pluginsmenu in WordPress - 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.Screenshots
Arbitrary section
Filelist
- spoiler.php
Version 0.2
new: several spoiler can have same name
Version 0.1
- first release
created by Readme Parser

[...] Eklenti Ana Sayfası [...]
[spoiler]just testing spoiler tags in comment[/spoiler]
Not working because only the content will be scanned per shortcode. Do you need spoilers in comments?
Your spoiler uses a plus and a hyphen-minus signs for the hide/show button. But the hyphen-minus has different level and narrower than the horizontal bar of the plus in many typefaces (e.g. Arial). That make it looks kind of awkward while triggering that button.
It would be very nice if you fix that by using a minus sign instead of a hyphen-minus in your spoiler plugin (spoiler.php). You can put this symbol (a minus sign) using HTML mnemonics (
&minusor&#x2212) or just from your keybord as other Unicode symbols (depends on your operating system).Thanks for your Tiny Spoiler plugin.
Sorry, i can't change the code to
&minus. Then the button shows&minusinstead of-. Javascript issue?But i set the size of the button per CSS. See the sample. So it looks nice.
Loving this plugin, thanks a bunch!
Hallo, wie ist die Anzeige im Feed? Ist dort dann einfach der Shortcode zu sehen?
Ehrlich gesagt keine Ahnung. Aber ich denke, dass die Filter auch dort über den Content laufen. Die eigentlich Frage ist ob dort das Javascript funktioniert. Das glaube ich eher nicht. Probiers mal aus.
Can't works on my blog..
more? infos?
Why this plugins doesn't work in my blog?
I can't click the spoiler button. :(
Do you have a sample on you site?
It's just a bit Javascript.
Not workink on 3.0 ver
Wordpress 3? Works, see above!