-
·
WordPress: Überprüfen, ob ein Beitrag das more-Tag enthält
Manchmal möchte man einen Beitrag abhängig davon gestalten, ob er ein <!–more–>-Tag enthält oder nicht. Leider verfügt WordPress nicht über eine Funktion, um diese Prüfung vorzunehmen. Befindet sich der Beitrag innerhalb des Loops, so kann man aber folgende Funktion benutzen: function hasMoreLink() { global $post; return strpos($post->post_content, “); } (Bitte „nore“ mit „more“ ersetzen, konnte…
-
·
WordPress Plugins übersetzen
Viele WordPress-Nutzer bevorzugen eine deutsche Oberfläche, weil sie der englischen Sprache nicht mächtig sind oder es einfach als angenehmer empfinden, sich mit ihrem Blogsystem in ihrer eigenen Muttersprache zu verständigen. Für das Basissystem von WordPress wird mit großem Enthusiasmus vom wordpress-deutschland.org-Team eine Übersetzung bereitgestellt. Viele Plugins allerdings nicht nur in englischer Sprache verfügbar, was nicht…
-
·
Electric-Trick
My first try at macro photography.
-
·
Tabelle zeilenweise ausblenden mit jQuery
Möchte man mit jQuery einige Zeilen aus einer Tabelle ausblenden, so könnte man auf folgende einfache Lösung verfallen: Ursprüngliche Tabelle: Zeile 1 Zeile 2 Zeile 3 Tabelle mit <div> und checkbox: Zeile 1 Zeile 2 Zeile 3 Zeile 2 verstecken jQuery-Code zum Ausblenden der Zeile 2: function hideshow() { if ($(„#cb_test“).attr(„checked“)) $(„#test“).hide(); else $(„#test“).show(); }…
-
·
Invite Data to your birthday party… almost!
Nice Tweet from Brent Spiner, the actor who impersonated Data in the Startrek Next Generation series: I am available for birthday parties and weddings (straight or gay). I won’t come as any character and I won’t do anything but eat cake. (Link) Brent Spiner on Twitter
-
·
7 reasons that make me NOT listen to your web radio
I like to listen to web radios of all kind and like to discover new ones. But if you want to keep me from listening to your station on a long term try to avoid the following: Bad stream qualityFM was invented in 1925 by Abraham Esau and we can listen to good sound quality…
-
·
Tweetback v0.2
Tweetback has been updated to version 0.2 and includes the feature I definitely missed. Now you can define users whose tweets will be ignored. This is important if you are using Alex King’s Twitter Tools and publish your new blog entries on Twitter. Until now it always resulted in a Tweetback from myself to myself.…
-
·
Remove Google Reader’s Toggle Bar with Firefox
How often do you collapse your subscription list in your Google Reader? I assume you tried it once and after that you never did it again. So why not remove it? It’s simpler you think: Go to your Firefox profile/chrome/ directory. If there’s a file called usercontent.css open it, otherwise create a new file with…
-
·
Greasemonkey-Skripte extrem einfach finden.
Nicht immer zeigen Webseiten ihre Informationen so in Form und Inhalt wie man es gerne hätte. Zum Glück gibt es für Firefox das Add-On Greasemonkey, mit dem sich geladene Webseiten nach Belieben ändern lassen oder mit neuen Funktionen erweitern lassen. Natürlich wäre es nicht sinnvoll und möglich alle gewünschten Skripte selber zu schreiben, deshalb gibt…
-
·
AOL reveals: Michael Jackson is dead
… or how should I understand this? (I know, I know, it’s the Dead people he’s singing about 😉 )