Here at WebDevStudios we put a lot of emphasis on code quality. After handing off a product to a client, we never know who may be looking at and/or maintaining our code. We want to be proud and confident that the next person will not have an OMGWTFBBQ-head-smashing-into-keyboard moment, but...Continue Reading Winning With Code Reviews
In a previous post, I wrote about how awesome PHPStorm is in the context of being a front-end developer. In this post, we are going to look at getting the PHPStorm debugger setup to work with Xdebug and then test it to make sure it’s working! In my opinion, one...Continue Reading The PHPStorm Debugger is Pretty Awesome
“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 of what clever code is, why it’s often...Continue Reading 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 that covers a wide variety of topics related...Continue Reading 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 time around, the client had content available in...Continue Reading 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 and themes.Continue Reading Debugging WordPress Tips and Snippets
If you’re using Custom Post Types in your WordPress site, you might assume that your site search will display those posts along with the standard posts and pages in search results. However, WordPress actually has to be told to not only search custom post types, but a little extra work...Continue Reading 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.Continue Reading 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 looping. It isn’t doing anything, actually. No function my_awesome_query...Continue Reading You Broke It! Better Error Handling So Your Errors Don’t Suck!