PHP

Microcaching with Nginx

Photo of author
Travis Northcutt
Zach Brown has a nice post up on how to set up microcaching with Nginx combined with Batcache to handle big spikes of traffic (or just to maximize efficiency and enable running a site on low resources). Zach explains that…

PhpStorm IDE gets official WordPress support in version 8

Photo of author
Brian Krogsgard
PhpStorm is a full-featured IDE that has somewhat of a cult following amongst the WordPress developers I follow. Made by JetBrains, it's notable for being lighter weight than most IDEs, web development specific (though not just PHP as the name…

How to customize the WordPress theme customizer defaults

Photo of author
Brian Krogsgard
The theme customizer feature was introduced in WordPress 3.4, released June 2012. Since then, it's been a great tool that's allowed theme developers to move away from complex options managers to a simpler, more logical interface where many settings can…

WordPress code snippets ’til Christmas

Photo of author
Brian Krogsgard
Elliott Richmond is in the second year of his advent calendar for WordPress code snippets. You can sign up on the site for the 2013 version and he'll email you the snippets every day. I enjoyed this last year, as…

I can haz braces?

Photo of author
Brian Krogsgard
WordPress core is debating a change to always require braces, even for one line, in PHP if statements. Looks like the +1's are winning. That's a good thing in my opinion. Is this the most detail oriented thing I've ever…

Rewrite rules made easy

Photo of author
Brian Krogsgard
Getting rewrite rules and Regex right is an often painful task in WordPress. Conflict solving, commenting the expressions, et cetera is something most people want to avoid. To be honest, every modern PHP or JS framework nowadays has a very…

Dave Pell on building the NextDraft platform

Photo of author
Brian Krogsgard
If you don't already follow NextDraft, then this is your lucky day. NextDraft is a newsletter -- or a column really -- from Dave Pell that contains "the day's most fascinating news." And it is great. NextDraft is the only…

WordPress code conventions for easy wins

Photo of author
Brian Krogsgard
Our code in WordPress plugins and themes should follow some basic standards. Here are a few simple tips to make your code more aligned with the standards of the core project. Prefix everything Nacin said it best. Prefix everything. Prefix…

WordPress responsive navigation options

Photo of author
Brian Krogsgard
Navigation is one of the most challenging battles for doing responsive design well. To preface this article, I highly recommend you study Brad Frost's collections of responsive navigation patterns and complex responsive navigation patterns. In this post, I'll cover two…
A2 Hosting
WordPress.com