Justin Tadlock

Vision for the theme directory: Part 1

I’ve now been involved in some form or another with the theme review team at WordPress.org since late 2010. Some of that has been as an author, reviewer, and administrator. I’ve been a part of every aspect of…

Settings wrappers for plugins and themes

I’ve seen many methods of retrieving settings in themes and plugins over the years. Everything from an object property buried somewhere I can rarely find to a global variable wrapped by a function set up by a global variable…

How to remove the customizer CSS option

Now that WordPress 4.7 has been released, most people will notice an “Additional CSS” section in the customizer when they update. This is an awesome feature and a perfect use of the customizer. It’ll be great for the vast numbers…

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…

Happy 13th, Smeagle!

Would sleep if not for camera Sleepy time Get that camera out of my face Not sharing While everyone was celebrating Thanksgiving this past week, my oldest cat, Smeagle, was celebrating his 13th birthday. He wasn’t particularly fond of…

Traveler's notebook

Notebook Unpacking the notebook Accessories Journal insert Some pics of my new traveler’s notebook. This is not the famous Midori Traveler’s Notebook, which was bit pricey for my first TN. Instead, I went with a cheaper handmade journal…

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…

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…

Anne Rice shared my essay

This is one of those things you’re supposed to screenshot, right? An aspiring novelist should probably print and frame it. If you’re interested in the essay, here you go: Religion in the Vampire Motif.