WordPress 2.8 and the body_class() Function

Back on February 7th, I was casually browsing the WordPress trunk code, and discovered a very cool new function in the wp-includes/post-template.php file.

Beginning in WordPress 2.8, themes will be able to take advantage of the body_class() function to place location-specific classes on the opening <body> tag, usually located in the header.php file of most themes.

Why is this significant? Easy … this opens up the ability to change the look of nearly everything with CSS only.

Before we get into the application of the body_class() function, let’s cover some technical details first. Read More

3 New Plugins by Yours Truly

That title couldn’t be worse for my WordPress SEO goals, but it’s late and I don’t care!

Over the last several weeks, I’ve been a busy working on a few little gems that you might find useful.  I certainly do.

I’ve created a new WordPress Plugins page here as a placeholder. Eventually, each plugin will have its own page.  Check them out and let me know what you think.

Where I’ve been, and What’s Next

So, yes, I admit it. I’ve been mostly silent here on the blog for a while. But I promise, it’s going to change soon. Trust me.

In the mean time, I wanted to let everyone know what’s going on, and what’s coming up. Read More

Definitive Sticky Posts Guide for WordPress 2.7

As the blogosphere is abuzz about all the cool new features in WordPress 2.7, I’ve seen very few (if any) good posts on the new Sticky Posts feature that will allow you to take any story, or stories, you’ve published and place them at the top of your homepage without editing the timestamp.  This new feature will allow you to take posts that you’re especially proud of and display them for all the world to see for as long as you want.

But for many theme and plugin developers, and even users who may want to do a little DIY theme hacking, there is very little documentation for getting the feature set up to do the things you want it to.  That’s where this guide comes in. Read More