Author: Michael

  • WordPress and register_sidebar

    Everyone who is building WordPress Themes probably implement the widget function in their theme. Code for the widgets is in functions.php. Here a code snippet of the default theme:

  • Use Constants To Integrate WordPress In Other CMS

    Sometimes you need to integrate WordPress into another CMS, like Typo3, Drupal or whatever is out there. The blog should have the same design, use same images and Javascript or implement existing links. Mostly you run the WordPress blog on a subdomain like blog.example.com and the data lies on example.com/css/ and so on.

  • YAML 3.1 Released

    What a great Day! Barack Obama is sworn in as 44th US president, my friend Dirk Jesse released version 3.1 of the XHTML and CSS Framework YAML and it’s my birthday. Also launched the new YAML Developer Blog today, where I was honored to code the WordPress Theme.

  • Comment And Ping Count In WordPress 2.7

    The comment area changed a lot in WordPress 2.7. A good reason to check your comments.php and make some changes to it. Especially I like to seperate the comments from Ping- and Trackbacks. Matt shows in an excellent tutorial how to do it: Separating Pings from Comments. But I didn’t like one thing in this…

  • Dynamic Copyright Year In Your Footer

    The new year is already some days old but in many websites you still can see in their footer “copyright © 2006-2008 mysite.com”. Yeah Andy, on your blog too 😉 For everyone, who changes the year in their footer manually every year, here is a little tip:

  • Adding A Private Page Into The Navigation

    If you use pages which have the state private, they will not be shown in the navigation. Nevertheless it can make sense to show this specific page in the navigation, if you want to provide easy access to this page for your users. The page should only appear to privileged users for sure. I will…