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 Braider
Donate link: http://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
Changelog
Version 0.2
new: several spoiler can have same name
Version 0.1
- first release
created by Readme Parser

![de [de]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/de.png)
![en [en]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/en.png)
![fr [fr]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/fr.png)
![es [es]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/es.png)
![it [it]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/it.png)
![pt [pt]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/pt.png)
![ru [ru]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/ru.png)
![ko [ko]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/ko.png)
RSS Artikel

strange, when I put in style.css not worked, I had to edit the spoiler.php to work, thx!
It work at the end of style.css for me. Perhaps other stylesheets overwrite it?
I have to align the content of the spoiler in the center?
No you havn’t but you can.
[...] + 버튼으로 숨겨주고 보여주는 기능을 하는 플러그인 제작자 홈페이지: http://www.tomsdimension.de/wp-plugins/tiny-spoiler 경로: wordpresswp-contentplugins 에 추가 다운로드 링크: Tiny-Spoiler 0.2 [...]
[...] Eklenti Ana SayfasÄ [...]
[...] Tiny Spoiler – Tiny Spoiler se utiliza para mostrar y ocultar fragmentos de texto. [...]
[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−) 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.