“Clever code” is a term that you may have heard before, accompanied by sighs and groans from other developers. Often, people seem to think of clever code as annoying, and perhaps even harmful. In this article, I’m going to give a brief overview...Read More Is Clever Code OK?
As mentioned in our end of year post, one of our goals for 2015 was to up our content game–and up it we did. Earlier in the year, I talked about how we have been using a collaborative approach to create content...Read More Top 15 WebDevStudios Posts Published in 2015
We recently completed a site for a client with content in several languages. I’m no stranger to internationalization, but the majority of multilingual sites I’ve worked on used a default language and then included content in only one or two more languages. This...Read More Internationalization: Beautiful Typography in any Language
Most developers know of the common WP_DEBUG in the config file, but some don’t know there are way more possibilities with WordPress and PHP in general. In this article, I’m going to show you some tips and tricks that I use when debugging WordPress plugins...Read More Debugging WordPress Tips and Snippets
Editor’s note: The following blog post was written in 2015. We can’t guarantee the accuracy of the code and presented solutions, but we’ve chosen to keep this blog post live for those who still find the information useful. If you’re using Custom...Read More How to Search Everything Within Custom Post Types
ARE YOU READY TO TAKE YOUR DEBUGGING TO THE NEXT LEVEL?! ARE wp_die AND print_var JUST NOT CUTTING IT!? XDEBUG IS THE ANSWER! Xdebug is a PHP extension that provides advanced debugging capabilities such as breakpoints, watch expressions, and more in-depth error reporting.Read More Debugging with Xdebug, VVV, and Sublime Text
There you are. Face illuminated by the blue glow of the monitor. You’ve just finished passing the third of three sets of WP_Query arguments to a function that’s supposed to run a loop with the passed args. Except…arg is what you’re feeling right now because your loop…isn’t...Read More You Broke It! Better Error Handling So Your Errors Don’t Suck!