wpSpoiler
Stylesheet
/* wpSpoiler */ a.spoiler_link_show, a.spoiler_link_hide { background-repeat: no-repeat; background-position: left center; padding-left: 18px; } a.spoiler_link_show { background-image: url(images/add.png); } a.spoiler_link_hide { background-image: url(images/delete.png); } div.spoiler_div { background-color: #ddd; margin-top: -10px; padding: 2px; }
Icons: famfamfam.
Seiten: 1 2


















Einfach und geil. Herzlichsten Dank!
Hi, ich hab ein Problem. Ich hätte gern, dass ich ein Spoiler hab und darin noch einen Spoiler aber das funktioniert nicht mit
[spoiler][spoiler]Test[/spoiler][/spoiler]
Kann man das irgentwie hinkriegen?
Thx
Hallo, bis jetzt klappt das noch nicht, muss mich nochmal an die Auswertung der Spoiler Tags ausarbeiten. Wenn ich die Tage mal Zeit habe, setze ich mich daran.
Jo danke das wär net ;)
Wo muß ich das stylesheet denn genau einfügen? In eine neu ertsellte Datei, in eine vorhandene oder direkt in die wpspoiler.php?
Hallo Liliana, das Stückchen Style muss ihn das Stylesheet von deinem Theme, also
Dankeschön!
DANKE.. ENDLICH
It doesn’t work, Firebug tells: „wpSpoilerToggle is not defined“, look here:
http://www.fairwayglobal.net/golf-cards/it/
You need the JavaScript Code of wpSpoiler in your head, do you have
in your Template?
Buenísimo!
Una lástima que no se puedan poner imágenes dentro del spoiler :(
Sorry?
che, que dices? no entiendo este parte con se puedan poner…
es la frase … que no se pude poner imagenes…
y la proxima vez responde en ingles por favor
Thank you Felix!
I work with Debba but we missed your answer until now: as a matter of fact we use a template made with many nested „include“, missing header.php and the wp_head hook… Now it works.
Ciao and thank you again!
i try to copy paste your style sheet into my style.css theme, but why can’t apply the effect?
something wrong about this?
Thanks..
[…] Açiklamali 232 WordPress eklentisi (Agu. 15, 2007 !!) (WordPress plugin list),[…]
Genau das was ich gesucht habe, danke :)
Bitteschön, hört man gerne :)
Wie muß ich denn das machen das das mit den Icons (+/-) so ist wie bei dir? Ich habe leider nicht sonderlich viel Ahnung davon.
… aha danke.
Sorry, zu spät mitbekommen…
Guck doch mal auf Seite zwei vom Post, das sollte das nötige CSS sein. Wie du das einbinden musst, weißt du?
Seite 2.
Really very light script. Thanks…
Hallo,
erstmal danke für das Plugin.
Was muss ich tun, wenn ich statt des Textes „ausklappen“ / „einklappen“ jeweils einen Button haben möchte???
Hi
erstmal is ja nen geiles plugin und zweitens.. ich hab das problem das der Spoiler auf der Hauptseite als BBCode angezeigt wird aber sobald man nur den einzelnen Beitrag liest der Spioler in korrekter Form dargestellt wird zum auf– und zuklappen.
Danke für die Hilfe schonmal im vorraus..
Mfg
Eddy
Hi!
Hast du das Theme, das du benutzt, irgendwie verändert? Mein Plugin wendet die Umwandlung immer auf die Funktion the_content() an, die sollte sowohl in index.php als auch single.php von dem Theme vorhanden sein.
Ansonsten sieht eigenltich alles soweit richtig aus.
Danke für die schnelle antwort..
hm daran kann es liegen.. ich hab diese plugin installiert welches die funktion the_excerpt_reloaded() benutzt..
gibt es da irgendwie ne möglichkeit dem Spoiler so zu verändern das er nicht mehr auf der Hauptseite angezeigt wird?
Ich denke mal daran liegt es, da greift der Filter nicht mehr.
Kleines Bugfix:
Schreib doch mal unter die beiden aktuellen Hooks (ganz unten in wpSpoiler.php) noch folgende Zeile:
Bitte danach berichten ob es funktioniert.
Sollte dies der Fall sein, wird es wohl Zeit für eine Version 1.1 von wpSpoiler :)
Hatte gestern abend schon versucht einfach mal das als neuen Hook einzufügen.
Aber es funktioniert wenn man einfach nur
add_filter('the_excerpt', 'wpSpoiler');hinzufügt. Scheint das das Plugin „the_excerpt_reloaded“ trotzdem weiterhin einfach nur die funktion the_excerpt() aufruft.
Vielen Dank für deine Hilfe. Gruss Eddy
Wunderbar, danke!
Sehr gute Idee, ich habe nur ein Problem: Wenn ich ein Plugin benutze, das generell target=„_blank“ für sämtliche Links im Eintrag aktiviert, dann trifft das leider auch auf diesen Spoiler zu, und es öffnet sich ein neues Fenster/Tab, wenn ich darauf drücke.
Hi! Öffne doch mal die wpSpoiler.php in einem Editor. Ganz unten stehen die beiden add_filter Funktionen:
Setz doch für beide mal den dritten Parameter (Priority) auf einen hohen Wert. Dann werden beide Funktionen erst ganz spät verarbeitet, nämlich nach deinem target-blanc Plugin:
(Davon abgesehen ist das target-Attribut sowieso evil :)
Vielen Dank! Das hat geholfen.
Target ist perfekt. Ich schließe ein Fenster lieber selbst anstatt eine Seite verschwinden zu lassen, indem ich auf einen Link drücke. Es bleibt immer noch der BACK-Button, aber den drücke ich im Zweifel dann auch nicht mehr.
thank for the plugin,..
regards,
can you did additional options? as [spoiler=Show,Hide], [spoiler=Read more,Hide] and others.
This is exactly what i was looking for.
Thnx for this great plugin :)
Zunächst ein großes Lob für dieses tolle Plug-In!
Was ich mir für die nächste Version wünschen würde, wäre die Möglichkeit, einen eigenen Spoiler-Link-Text innerhalb des Tags notieren zu können, sodass jeder Spoiler nach Belieben abgewandelt werden kann.
Würde mich freuen, wenn das in zukünftigen Versionen möglich wäre!
Ich liebe dieses Plugin :-) Deshalb würde ich gerne wissen, ob die Möglichkeit besteht, es auch in den Kommentaren benutzen zu können. Ich habe es bisher nicht geschafft, es dort zum Laufen zu bekommen. Welche Voraussetzungen wären dazu nötig und ginge es überhaupt? Erklärungen dazu aber bitte so, dass auch ein PHP-Laie sie verstehen kann ;-)
Viele Grüße,
Maksi
just wonder why, after i activate this plugin, the website top left there show the funny PHP_EOL wording.
Do spider catch up those links or words within censor?
If not do you have any suggestion that can protect the content from spider?
Thanks!
Feines Plugin, nur schade das man die beiden Icons „plus“ „minus“ nicht mitbekommt aber Denke das hat mit den copyright zu tun.…
Kann man sich ja Suchen wenn man Sie haben will…
Sonst Top Plugin.….
@Roddi
Danke sehr :) Ja, die Icons unterliegen fremdem Copyright.
Guck einfach mal hier.
thanks very much „ its work
Ein klasse Plugin, danke! Wäre schon wenn hier ein paar Styles (von andern?) dafür angeboten werden könnten
Danke danke! Werde das Plugin in nächster Zeit nochmal überarbeiten, dann gibt es an dieser Stelle auch ein paar Styles!
On Wp 2.7.1 Wp spoiler display PHP_EOL on every links.….
Which PHP Version and Webserver is used?
Hallo Felix, erstmal vielen Dank für Dein schönes Plugin, das ich direkt mal bei mir eingebunden habe.
Aber das Stylen kriege ich nicht hin: ich habe Deine Beispiel-CSS-Codepassage in meine style.css eingebaut, aber das hat keine Auswirkung. Ich binde mit [spoiler][/spoiler] ein — muss ich da was verändern? Oder mache ich einen Denkfehler? Muss ich beim Einbinden des Spoilers etwas an den Tags ändern?
Danke für Deine Antwort :-)
@Felix: hat sich erledigt, war ein Cache-Problem ;-) Jetzt klappt’s!
Ok. Wunderbar :)
Wenn ein Besucher JavaScript deaktiviert hat, hat er keine Chance, sich den Spoiler-Text anzeigen zu lassen.
Kann man das Plugin irgendwie erweitern, dass bei deaktiviertem JavaScript der Spoilertext ganz normal angezeigt wird?
Auf die schnelle habe ich kein Spoiler-Plugin gefunden, das mit „noscript“ arbeitet. (Oder hab ich eins übersehen?)
Würde mich riesig freuen über eine Antwort.
Hi. Great plugin! Thanks! But I have a small problem with big spase between 1 row and 2. Help please. It looks not so pretty. I use it here http://all-small-dogs.ru/?p=763
Danke schon fur dieses super plugin!
Fiel besser als „advanced spoiler“ denke ich :-)
Thanks dude.
Hallo!
Klein, handlich und anpassbar. Gefällt mir sehr gut. :)
Gibt es eine Möglichkeit einen Button in die Werkzeugleiste einzufügen, der den markierten Text mit dem [spoiler]-Tag versieht und wieder entfernt? Oder gibt es das bereits für dieses Plugin und ich habe den Button übersehen?
LG
Taysal
Hallo Felix
Funktioniert das auch mit Bildern oder kann man nur Text ein/ausklappen?
Probier’s doch einfach aus! ;D
Nee, aber vom Code her sollte es mit allem klappen, auch mit Bildern.
Klappt echt, ein Beispiel gibts auf meiner Seite!
Vielen Herzlichen Dank Felix!
Dank nicht mir, dank Ginchen :)
Ich glaube, er meinte für das Plugin. Aber wenn Du sie nicht willst, dann heimse ich natürlich auch dafür gern die Lorbeeren ein. :D
P.S.: Ich bin zu dumm, die Reply-Funktion richtig zu nutzen.
Macht doch nichts :)
[spoiler]Bruce Willis is a ghost![/spoiler]
It’s not a bug — it’s a feature! ^^
nice.… thanx…
thnx) wery useful
I’m having a problem with the spoiler as it defaults to „show“, but what it is supposed to hide is shown. How can I get it to hide the text by default?
Uh. This is what it was designed for. Did you add any extra CSS to your stylesheet? Something with „display“?
hi, super plugin und funktioniert soweit auch bei mir! bin überhaupt kein wp-checker, wie kann ich denn den Text „show“ bzw „hide“ weglassen? hab schon die +/- icons eingebaut, aber jetzt ist halt beides da (+ show bzw. –hide). möchte allerdings nur das icon haben.… vielen dank im voraus!
danke, habs schon gefunden (in der wp php datei) :)
Hallo zusammen,
eine Frage habe ich zu dem sehr genialen Plugin!
Wie ist es möglich die Funktion auf der nur auf der archive.php anzuzeigen?
Da ich diese als Startseite nutze?
Und wenn ich dann in den Artikel komme möchte ich das es entweder nicht angezeigt oder direkt ausgeklappt ist?
Vielen Dank!
Hi!
Wüsste im Moment nicht wie das gehen sollte.
Wird in deiner archive.php the_content(); oder the_excerpt(); verwendet?
Ich würde sagen, dafür müsstest Du die Funktion „wpSpoiler“ in Felix’ wpSpoiler.php etwa so ändern: http://pastebin.com/m0fWUnXA
Ich frage mich nur, wozu das eigentlich gut sein soll? Geht es darum, auf Archivseiten einen kurzen Auszug zu haben, den man dann mit Klick auf „show“ zum ganzen Text ausklappen soll? Denn dafür gäbe es bestimmt elegantere Lösungen.
Hammer Plugin, danach habe ich schon Ewigkeiten gesucht! Vielen dank :)
Hi Felix,
habe hier ein seltsames Phänomen…
Ich habe mehrere Spoiler auf einer Seite (FAQs) und habe den Text so (Also ohne Zwischenräume bei eingeklappten Spoilern) formatiert:
1. xxx xxx
[Antwort]
2. xxx xxx
[Antwort]
3. xxx xxx
[Antwort]
Aussehen tut es aber so (Also mit einem Abstand):
1. xxx xxx
[Antwort]
2. xxx xxx
[Antwort]
3. xxx xxx
[Antwort]
Ich hab den Quelltext überprüft, es ist kein Tag vorhanden, der das bewirken kann, am CSS hab ich auch nix rumgeschraubt.
Wenn ich einen Spoiler vor Punkt 1 einfüge, ist der Text so formatiert wie ich will. Dieser Abstand wird anscheinend nur beim 1. Aufruf von [spoiler] eingefügt.
Wi bekomme ich das unter Kontrolle?
Danke!
Stefan
The loans are essential for guys, which want to start their own career. As a fact, it’s comfortable to get a credit loan.
.. gleich mal testen … :)
Danke für den post.
kann ich gut gebrauchen .. danke
The same to those of Japanese Forklift, the Open Type Design was adopted by SINKOBE.
This made our clients’ expense in service parts lower. Maintenance is easier and available by
any technician due to the European control system used.
Hello, your article is a continuation excellent.
Thank you for the insight here, I really appreciate you for sharing this information, keep it up
I found this an informative and interesting post so i think it is very useful and knowledgeable. I would like to thank you for the work you have made in writing this post. I wish the same best work from you in the future as well.
this site having nice posting and good information..
Compare Prices
Pretty good post. I just stumbled upon your blog and wanted to say that
I have really enjoyed reading your blog posts.
Anyway I’ll be subscribing to your feed and I hope you post again soon.
its NFC-based mobile payment feature in the form of Google Wallet in May. It is said that Apple has disclosed in some of the meetings that NFC won’t be on the feature list of the next iPhone.
I agree with most of your points, but a few need to be discussed further, I will hold a small talk with my partners and maybe I will look for you some suggestion soon
I can wait to give it a shot ASAP after I get the pattern. Thank you for your punctuality on posting the tips which really help a lot!
Dr. Cell Phone is a comprehensive cell phone, iPhone, iPod, MP3 player, laptop, and gaming system repair center headquartered in Dallas, Texas.
Thanks for sharing These info with us! I was reading something similar on another website That i was researching. I will be sure to look around more. Thanks
This is a great blog document and much needed in ensuring
that projects lead to value. It would be of great help to have some generic
examples of benefit maps etc included in the guideline. I have just started out
in the benefits management areana, find it very useful, but am still finding my
feet on the practical application.
Some merchandise manufacturers make NFL caps that have a rubber fan face built into it. Besides being a fun way to show you’re fan fanatic, it might help keep you warm on cold game days in these coming months.
Nice post! Very comprehensive and provides a ton of information.Thanks!!
Really appreciate this post. It’s hard to sort the good from the bad sometimes, but I think you’ve nailed it!
I can wait to give it a shot after I get shot as soon as possible tern. Thank you for punc theory tua floor stop tip really a great help!
I have read this post. It’s really awesome. I have noted some point which make this post excellent. I hope you will keep continue to write other informative and interesting post. Thank you.
Your Newest Fashion Tory Burch Reva Ballerina also arrives on this particular terminology all natural leather-based advancement through dark-colored, cognac darkish, as well as crimson. Your topstitching could possibly be tonal even although utilizing Tony Burch institution logo. Your neck strap through archipelago style could possibly be completely removable for types benefit.
Tory Burch Outlets earnings they are identified to sustain remarkable in inclusion to remarkable merchandise. Tory Burch sandals is genuinely a renowned layout celebration within of Popular Design Tory Burch Reva Ballerina are employed who advocates make contact with using a unified route all day, she observed a Army chief even although within your course The flat-bottomed ballet shoes, painting using a logo of double T gains most effective reputation in Tory Burch.
With the quick advancement of economy, the good quality of our lifestyle is enhanced activity by activity so which you can acquire this, affordable Tory Burch is dedicated to recognize vintage clothing, style track record and tailoring, after which describe it in even more detail also it is really an know-how of Discount Tory Burch shoes online for example Tory Burch Ballets, Tory Burch Pump and Tory Burch Slippers, there are numerous ceremonies that consider area within a quintessential Tory Burch is definitely an attainable, luxury life-style producer defined by traditional sportswear with an eclectic sensibility.
This is definitely a blog worth following. You’ve got a great deal to say about this subject, and you can also tell that by the huge number of comments!
This article is worth studying and using for reference,excellent!
It was a high-pitched screech, and it was fast becoming painfully loud. I looked up, startled.
Just want to say what a great blog you got here!I’ve been around for quite a lot of time, but finally decided to show my appreciation of your work!
Silkroad Online Gold ve Silk satışları Metin2 Yang ve EP satışları Knight online GB Knight online Premium satışları, WoW Prepaid satışları bulunmaktadır.Bu oyunların yanı sıra Hero Online, Cabal Online,
2, a group of people secluded in a deserted shop to eat, a total of six people, the waiter has brought the seven chopsticks. A colleague said: „more than a good ghost story at the beginning of ah.“ Everyone laughed. Look at our waiter, counted, sorry said: a wrong a wrong. Then he withdrew a double-double. Silenced the table.
Wholesale NFL jerseys, NBA jerseys,Hockey jerseys,MLB jerseys, NCAA jerseys and Soccer jerseys, we aslo sale UGG boots, Converse shoes, Most kind of brand glasses, sunglasses, Hats aslo
Welcome to view our site http://www.2011jerseysstore.com
Because then I can be you’re angel, she replies smiling brightly. He looks at her for a bit more then looks down almost laughing. He lands down near her house then lets her down off his back. She looks at him then turns off walking away. He grabs her hand just before she gets out of reach and pulls her back kissing her. She stands there shocked but soon gives in to the kiss. She steps back breaking the kiss off and blushes deeply.
Just want to say what a great blog you got here!I’ve been around for quite a lot of time, but finally decided to show my appreciation of your work!
I can wait to give it a shot after I get shot as soon as possible tern. Thank you for punc theory tua floor stop tip really a great help!
Thanks for sharing These info with us! I was reading something similar on another website That i was researching. I will be sure to look around more. Thanks
That comment was so randomly and so perfectly placed that the three of us guys burst out laughing. Sylvie chuckled too, trying to contain her laughter, but she gave in and was soon in tears with the rest of us. Don’t ask us why we laughed so hard. It was just the way our little group worked. We laughed when we could, since there wasn’t much to laugh about.
2, the parrot to speak at the game, won the first prize parrot called Coco. He came out from the cage, Simianzhangwang a bit and shouted: „Here’s why so many of the parrot?“
I’m still learning from you, but I’m improving myself. I definitely liked reading everything that is written on your blog.Keep the information coming. I liked it!http://www.uggbootsbuy.org/
4, a dying landlord, in his will in such a way, added a few words: „That’s missing the bull can be so two disposal: If you go to find my son, If not, they go to my housekeeper . “
Reebok the official manufacturer of the http://www.jerseysinstore.com/ (Cheap NFL Jerseys) also only have the clothes made in
Uggs look clumzy, in fact, it is full of material, it is hand made from pure sheepskin, fur and most of all Oh, it also determines its price a little expensive, but compared to most brands of skin now 2,000 boots frequently about the price, Ugg genuine quality still worth it. Because it is pure sheepskin, leather products are generally relatively breathable, so even though there are plush shoes will not make your feet feel too hot, the shoes will be properly adjusted the temperature inside the shoe, make you feel natural and comfortable.
I think if we walk to other blog we most comment to give appreciate for owner.
This is a great blog,I like this canada goose parka post it is very good and informative.There is no doubt canada goose jakker that own a fashion things canada goose norge Cheap but also can not afford these expensive .Now come to our online canada goose jakke store,you can find your favorite products canada goose oslo sale in this canada goose jakker.
I have a blog centered on exactly the same suggestions you discuss and would adore to have you share some stories/information. I know my readers would value your work.
Thanks for sharing, this is a fantastic blog article. Keep writing.
l’Acapulco est une ville qui peut répondre à vos attentes.
Hôtels à Acapulco offrir Barato Louboutin Zapatos
Nice post! I’ll tweet it!
I really like this one, can you show more pictures?
Then the old woman became very angry because the cat had not killed the mouse. She began to hit the cat. The cat said, „Do not hit your old servant. I have worked for you for many years, and I would work for you still, but I am too old. Do not be unkind to the old, but remember what good work the old did when they were young.“
Marvel written so well, giving good advice good tips; I will be living in the wider application; talented authors to write a good blog so people keep in mind.
This information helped me a lot, let me know how to use, know how to enjoy the good life. I will write it down in something interesting, maintained. So now permanently preserved.
When I was a child, they did to me how many, after be brought up,
thank you
Great loved it, will be waiting for your future posts Thank you for sharing
mastering a terrific deal much more on this matter. If feasible, as you obtain knowledge, would you thoughts updating your web site with a wonderful deal more information? Its very helpful personally.
Nice one! I did one of these myself but this one is well polished! alsi you still have the keyboard and mouse working!
123
HI
Your writing is very good, I like it very much, I will continue to focus on your oh blog. thank you
Very nice site,In future i ready to hear more from you.i like your post.so In future i ready to hear more from you
this is nice post
in the style globe. They’re the most effective stylists you are able
Your blog site is excellent. Say thanks to you truly for providing plenty of both useful and interesting advise.
Article is very interesting,thanks for your sharing. from your article I learned more…wedding dresses, bridesmaid dresses, celebrity wedding dresses, ball gown wedding dresses,a line wedding dresses, tea length wedding dresses, strapless wedding dresses, column wedding dresses, plus size wedding dresses, chiffon wedding dresses, wedding dress, wedding dresses
Hi, i simply wanted to come here to show you about a very cheap service that posts comments like this on millions of WordPress blogs. Exactly why you may ask, well you may wish to sell something and target webmasters or simply just increase the amount of backlinks your web site has that will improve your Google rankins which will then bring your web site more visitors and money.
Thanks for sharing your article. I really enjoyed it.
our goal is to be popular and fashionable vane,offer the best products and service, the most preferential price.
Thanks for the insight. You are absolutely right.
If you need more traffic to your website check out the website in my name. It really helped me and i think it can help your website.
like your post,good info.
Louboutin Wedding Shoes
http://www.louboutinweddingshoes.com
These are unique information for which I was searching, it’s really informative4 post, keep posting.
Cool article
One again, Keep working. Thanks…
you are so kind to provide such useful information.I think with your tips I can achieve what you want.
A spoiler is a summary or description of a narrative (or element of a narrative) that relates plan elements not revealed beginning in the narrative itself. Moreover, because enjoyment of a narrative sometimes will depend on the dramatic tension and suspense which undergird it, this beginning revelation of plan elements can „spoil“ the enjoyment that some consumers of the narrative would otherwise have experienced.
So much interesting contents here! You can go to see Eh bien, je vous remercie pour le partage
This was the first one I tried on and tried about 6 more after that.
NEW YORK (AP) — The United States, Russia and many European countries that have
cheap nfl apparel
supported the swell of protests across the Middle East and North Africa this year also supplied some of the weapons used against demonstrators,
Amnesty Inte rnational said in a new report Tuesday.