Embed YouTube Videos With iFrame in WordPress (Editor removes Tag Problem)
This damn WordPress visual editor removes always your YouTube video iFrame? Just install the TSL iframe unfilter plugin and the editor will leave your code untouched …
This damn WordPress visual editor removes always your YouTube video iFrame? Just install the TSL iframe unfilter plugin and the editor will leave your code untouched …
Wiedermal was Neues!? Wiedermal wird die (Web-)Programmierer-Welt auf den Kopf gestellt!? Objektorientiert ist gelber Schnee von Vorgestern, Design-Patterns verwendet heute schon deine Oma fürs Putzen … und jetzt kommt: TaTaaaa! AOP – Aspect Oriented Programming.
Der Erklärbär erklärt’s! (er versucht es zumindest)
If you have already added a custom meta field to your wordpress posts with add_meta_box you probably want to query such posts in your template. You can do that with query_posts(), it supports the meta_key and meta_value attributes.
query_posts($query_string.'&meta_key=onStartpage&meta_value=1');
If you want add fields to the wordpress user profile then two hooks are important for you.
Read the rest of this entry »
Another quicktipp for wordpress plugin developers. With the shortcode API you can easily provide additional commands for wordpress authors …
Another quicktipp for wordpress theme developers.
If you want to exclude one or more categories from a page (startpage, category-page), you can call the query_posts function with negative category-ids …
<?php query_posts($query_string . '&cat=-1,-2,-3'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <!-- POST --> <?php endwhile; endif; ?>
Another quicktipp for wordpress plugin developers. Registering a sidebar widget can end with a fatal error if you use the code from the wordpress documentation …
Seit dem es das AutoUpdate Feature gibt, frag ich mich warum man eigentlich nicht via sFTP (also FTP über SSH2) updaten kann. Ganz einfach: Weil die Option nicht angezeigt wird wenn die SSH2 PHP-Extension nicht installiert ist. Unter Debian kann man die Erweiterung mit folgendem Befehl installieren:
> apt-get install php5-ssh2
> /etc/init.d/apache2 restart
Seit einer Woche ist die finale Version von WordPress 2.8 verfügbar. Die Entwickler haben an der Geschwindigkeit gearbeitet und 790 Bugs gefixed. Für Entwickler ist vorallem das neue Widget API interessant das die Entwicklung enorm vereinfacht (siehe Beispiele).
Da in letzter Zeit doch so einige Posts über Bücher, Musik, Medien usw. angefallen sind und ich gerne diese von den ganzen technischen Themen wie Programmierung, Hardware, Software usw. ein bissl trennen würde, hab ich jetzt mal einen TECH Channel eingerichtet. Alles andere wird unter dem Titel “Mixed Up” zusammengruppiert … mal schaun ob ich damit zufrieden bin.