I was looking into custom WordPress theme tutorials when a friend of mine pointed out this tutorial. It is very well written and covers the following topics:
- Creating a Theme HTML Structure
- Template and Directory Structure
- The Header Template
- The Index Template
- The Single Post, Post Attachment, & 404 Templates
- The Comments Template
- The Search Template & The Page Template
- The Archive, Author, Category & Tags Template
- The Sidebar Template
- Reset-Rebuild Theme CSS & Define Your Layouts
Quite complete, and definitely enough to get started in developing your own WordPress themes.

External links
theme, tutorial, wordpress
This weekend I tried to autoupdate my blog to WordPress 2.8. This failed for some still unknown reason. Since this fail I was stuck with the following message in my admin page: “An automated WordPress update has failed to complete”.
I decided to update WordPress manually but the message kept in place. It turned out that I needed to remove a file called “.maintenance” from the website root directory. Finally the message disappeared

web
wordpress
Michiel had a very nice comment on my blog. If you post a comment and make an error in the captcha the whole comment is deleted and you can type the thing all over again.

Spam
Read more…
Software
wordpress
In one of my posts I had a nasty problem which took me a while to find out a solution. The problem was with having two dashes next to each other in an Linux command where I was writing about. Even though I wrote two dashes, WordPress made it appearing as one.

Code button in the toolbar
Read more…
Software
wordpress
Google webmaster tools is a nice place for uploading your sitemap. There are several sites around which can create a sitemap automatically. One problem: your weblog has dynamic content. This means you have to update your sitemap every time you add a new post to your blog…

part of the Osiblog sitemap
Read more…
general
wordpress
Smashing magazine posted an article describing 10 steps to improve the protection of your WordPress admin. This is really interesting since hacking WordPress seems to be very interesting for hackers.

WordPress
Software
wordpress
As you can see this blog has several subpages like photography and about. My problem was to have a page linked to an external website. Therefore I used:
<script type=”text/javascript”><!–
window.location = “http://flickr.com/basvandijk”
// –></script>
Now it turned out, there is a WordPress plugin available called “Page Links To” When enabled it provides you the option to have a page linked to an external website of your choice. Works a lot better than using Javascript redirects

Page Links To field
general
wordpress
When I started this blog I wanted to have nice looking permalinks for all articles. This means all articles have links like:
http://www.basvandijk.eu/2009/01/01/happy-new-year/
instead of
http://www.basvandijk.eu/?id=3458
I almost got this working except the fact that my URLs contained “index.php” like:
http://www.basvandijk.eu/index.php/2009/01/01/happy-new-year/
After searching through lots of websites I found a solution for this issue.
Read more…
Software
Software, web, wordpress