wp_enqueue_style, versioning and conditional CSS comments
I like to enqueue my CSS styles because it has the benefit of adding a version string. A link like style.css?ver=0.7 is useful because it will force visitors to download an updated style.css when the version number is increased. Here’s what I currently use in my functions.php: (more…)
Ajax For All WordPress Blogs
How to add support for navigation menus to your WordPress theme
Nesting WordPress loops
Sometimes it’s useful to put a WordPress loop inside another loop. To do this you’ll have to create a new WP_Query object, as in this example: (more…)
Creating a valid WordPress theme
DeutschRecently, I’ve been checking out some of the blogs that link back to me because they use one of my plugins. And it seems like a lot of them are using buggy, incorrect templates. It looks like many WordPress theme developers don’t read the theme development checklist. (more…)