Add first and last classes to your loop without using JavaScript

So you’re a pixel-perfect designer who wants to keep control over your WordPress loop styles? Hell yeah! You’re already pretty cool in my book. You’ve probably got a fancy post separator, or a brilliant doodle to fit between your last post and the comments. Whatever the reason, you don’t have CSS class selectors for targeting […]

The simplest way to require/include wp-load.php

If you want to use WordPress functionality in a PHP file that exists outside of your WordPress installation then you need to include wp-load.php. Perhaps you could call this “hooking into WordPress”. Maybe you’re already using some sort of relative path method, like: But this can create problems if directories change. You need a clean, […]

Joining X-Team

Not long ago I was contacted by Dave Rosen, the CEO of X-Team, who had stumbled across my blog (this one). He was looking for a WordPress guru who could help wrangle up their many projects on the technical/development side of things. After just three days of communicating back and forth (and one Skype call) […]

Create a dropdown of custom taxonomies in WordPress (the easy way)

So you’ve been busy taking advantage of custom post type¬†functionalities in WordPress since mid 2010. And of course you’re using custom taxonomies too, right? Of course you are. If you’re a theme or plugin developer you may have ran across the need to populate a dropdown list of your custom taxonomies. Essentially there are two […]

What’s the future of the WordPress iOS app?

I don’t launch the WordPress iOS application very often, and when I do it’s usually to do a quick typo fix on a post, page or comment. Sadly, there is no other reason to use it. Once, I heard Matt Mullenweg mention in a podcast interview (can’t remember where, sorry) that he really wasn’t happy […]