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: 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

[...] Tiny Spoiler – Tiny Spoiler is used to show and hide pieces of text. I discussed this plugin in an earlier article and thought it could be used for spoilers when people are stuck in a game. [...]
Hallo Tom,
erstmal vielen Dank für das Plugin – sehr schön und genau das, was ich gesucht habe!
Ist dir auch schon aufgefallen, dass die Anzeige beim Internet Explorer fehlerhaft ist? In allen Versionen zieht sich die Linie des Randes mitten durch den Spoiler-Titel, im 8er ist die Titel-Schrift zusätzlich blau. Alle anderen Browser zeigen die Spoiler korrekt an.
Kann man da was gegen machen?
Gruß
Sven
Danke für den Tipp. Kommt davon, wenn man alles nur mit Firefox testet und hofft, dass wenigstens die einfachsten Sachen auch gleich aussehen.
Ich habs mal geändert. Zeile 19 um den Backgound erweitert. Sieht besser aus.
.spoiler legend { padding-right: 5px; background: white; }Tiny spoiler failed again in my site…
the spoiler does not un fold when the button is clicked, I have no styles in my stylesheet that may affect the rendering you can check anyway like the las time to see if there’s anything wrong with my styles
http://0p0media.com/media/discografia/lucifer/
where is the spoiler?
Hi Tom, I’m trying to remove inline scripts to improve loading speed. So I’d love to know how to combine the inline scripts in spoiler.php with other js file.
http://fantasyamplifier.com/bookreview-psychological-strategies-and-tactics/
I have a quick review post about your plugin. It is written in Korean though. I love your plugin!
http://fantasyamplifier.com/wp-plugin-tiny-spoiler/
Have a good day. =)
Hello Nod,
thanks for your korean support.
I have an idea to “write” the custom styles and scripts to a resource file but don’t testet anything. Combination of all js / css files would be great. But how?
[...] Tiny Spoiler-shows/hides this [...]
Hallo,
kann man den Spoiler auch per Php ins Template einbauen?
Hallo Elena,
müsste mit
echo replace_spoiler_tag( inhalt, name );gehen, habs allerdings nicht getestet.
this plugin is great, but I am weak in the css, as you would have me is the css for this model is equal to your site? thx
a little shove
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 [...]