WordPress

This is my dumping grounds for all things WordPress. I’ll post themes, plugins, tutorials, and hacks under this topic. Have a look around. There’s plenty for everybody.

Using WP_Query properties instead of an iterator

Sometimes, when running through a post loop, theme authors need to do something special, depending on the current post in the loop or the total post count. For example, displaying ad space between the first and second post. Or, as in the screenshot above, displaying posts with drastically different markup … Continue reading →

Designing better nested comments

I’ve always had a love/hate relationship with nested comments. I like the idea of finding replies to comments without having to scroll up and down the page. I hate how unruly they get when more than two or three levels deep. In my most recent theme, Extant, and the newest … Continue reading →

Post format support for custom post types

When building the Custom Content Portfolio plugin, I needed to add post format support to my portfolio project post type. Generally speaking, this is a pretty easy thing to do. However, I wanted to limit the possible formats to only those that made sense for portfolios. This tutorial will walk … Continue reading →

Customizer typography project

Over the past few weeks, I’ve been giving some thought about building a typography control class for the WordPress customizer. I started to write a tutorial on the process, but such a tutorial would probably be in the neighborhood of 4,000 words. With something so highly technical, I didn’t think … Continue reading →

JavaScript templating in the WordPress customizer

In my previous tutorial on building a radio image control in the WordPress customizer, instead of using PHP to output data for the control output, I used JS. Specifically, this used Underscore’s templating engine that’s packaged with WordPress. While I’m not well-versed in JavaScript, it’s something that will increasingly become … Continue reading →

Customizer radio image control

In this tutorial, I’ll be writing about a radio image control for the WordPress customizer. This was a request, but I honestly don’t remember who asked for it. Sorry for forgetting. I hope you’re following the blog. :) This type of control is also something I’ve needed for a long … Continue reading →

The theme review team's content creation discussion

The WordPress.org theme review team (TRT) has been in the WP news a lot lately, right? Despite various tall tales, urban legends, personal attacks, and flavorful language being bandied about, we’re all a group of regular ol’, standard-built humans trying to make sure WordPress users have really awesome stuff. Some … Continue reading →

Multiple checkbox customizer control

This post is part of my ongoing series of helping theme authors out with building customizer fields that they need help with. This request comes from Nilambar Sharma. The specific request was, “Have you developed customizer control for multi checkbox. Say five choices are given and user can select multiple … Continue reading →

My 10th WordPress.org-aversary

Well, today has come and gone by just like any other for the most part. However, I’ve been quietly contemplating the past 10 years of being involved in the WordPress community. It’s been a long, wacky, and exhilarating ride, one that I wouldn’t change for anything in the world. Here’s … Continue reading →