Inside the loop, if you use the function the_date() to display the date the post was published, you may run into trouble. Specifically, if there are two posts published on the same day, the second one will return nothing for a date.
Author: Chris Coyier
Just a quick update to the post I wrote about plugins I'm too lazy to write. Steve Whiteley put together a plugin for Subtitles that is exactly how I envisioned it. For my wishes about avoiding widows in post titles, Shaun Inman had the solution years ago. (Shaun's site is down for me right now, but I'm sure won't be for long).
I heart plugin authors. Their work is generally amazing, a huge benefit to the community, the reason why WordPress rules so much, and deserving of much worship. That being said, plugins can do some pretty rude things sometimes...
There are almost 1,000 of them.
Function has updated their popular approach to creating custom write panels in WordPress. Now more efficient and more expandable. Write panels are basically ways to add custom fields that are a lot more user friendly than the standard custom fields area. Note (404 link removed 2012/07/31)
Sometimes you need to see what's wrong with a WordPress install, and you need to see it fast. I've had a set of hacks around for a while to do that, but finally started combining it into a WordPress Debug Theme. This theme is quite simple for now, as it only does a few things, but does them quite effectively.
Visualizes for you all kinds of important data about the page you are looking at. All kinds of fun for us WordPress nerds.
... or slightly more accurately, that I don't know how to write =)
I think it would be a cool format for a blog to have a title and a subtitle for every single Post. You could easily do it with Custom Fields, but this plugin would alter the Admin screen for writing posts to insert an additional text area underneath the title and above the content area.
When you are building a theme, and the circumstance comes up where you need to create a link to a specific page hard-baked right into the theme, there is a function you should be using.
I was talking with Darren Hoyt recently about building a better interactive button (404 link removed 2013/11/17). The goal of the button was to provide three states: regular, hover, and active (pressed). That is standard of any good button, but we were going to integrate some fading effects into it to really making the button satisfying to interact with. Here is a demo, and now we are going to show you how to integrate it into WordPress.
I've always used plugins for breadcrumbs, but of course rolling your own is always appealing. Gilbert Pellegrom shows us how to do it with our own custom functions.
Breadcrumbs in WordPress (404 link removed 2017/01/13)
Over on CSS-Tricks, I describe a problem I had of trying to create an RSS feed of pages that were buried two deep under a parent page. The standard query_posts can't go two levels deep with pages, or accept multiple parent pages to run the query. Instead I had to create multiple feeds from a custom template and stitch them together.
UPDATE: Make sure to take out "Take Two" on this concept, with a cleaner method for doing this.
Custom fields allow us to attach data to Posts or Pages that we can yank out and use at will in our templates. They are awesomely flexible and single-handedly allow WordPress to be used for about any CMS need. The fact that they can only be used on single Posts can be limiting in some circumstances. Sometimes you wish you could grab a custom value that you can control and is consistent globally, regardless of the current post. In this post we'll look at a technique to do so.