Development

Development in (and with) WordPress.

Set up unit tests for your plugin

Photo of author
Brian Krogsgard
The wp-cli (command line interface) project has really been gaining traction. Scribu shows in this post how to easily setup unit tests for WordPress plugins using wp-cli.

Comprehensive guide to WordPress metaboxes

Photo of author
Brian Krogsgard
Alex Mansfield has published a very comprehensive overview of creating custom meta boxes in WordPress. It doesn't cover every type of field, but if you aren't using a class or other tool for building metaboxes, this will come in very…

Classing up your queries

Photo of author
Brian Krogsgard
I remember reading this before I started Post Status. It needs to be noted here just how useful this post on classing up your queries is. Brad gives examples for making it easier to extend WP_Query in your projects.

The Zen of WP Development

Photo of author
Tom McFarlin
In this WordPress.tv episode, Daniel Bachhuber - a Code Wrangler at WordPress.com VIP team - presents what it means to be "one with the code" of WordPress development for providing elegant solutions.

Getting a menu name in WordPress

Photo of author
Brian Krogsgard
I had the hardest time figuring out how to return the saved name for a given menu. After spending way too much time in Google, I stumbled across this simple function that does the trick.

Don’t dequeue WordPress’ jQuery

Photo of author
Brian Krogsgard
Eric Mann describes why you shouldn't dequeue WordPress' version of jQuery. Unless you have a really, really good reason to use a CDN for jQuery (you probably don't), then stick with what WordPress ships with. You'll likely save yourself many…
A2 Hosting
WordPress.com