“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?Category: Debugging
Debugging JavaScript Events: Why Does It Do That When I Click This?
Sometimes things happen on a page that you can’t figure out. You click on a link and nothing happens; you submit a form and a modal pops up. Something is happening in JavaScript, but you can’t figure out where.
Read More Debugging JavaScript Events: Why Does It Do That When I Click This?Top 15 WebDevStudios Posts Published in 2015
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 2015Internationalization: Beautiful Typography in any Language
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 LanguageDebugging WordPress Tips and Snippets
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 SnippetsHow to Search Everything Within Custom Post Types
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 TypesDebugging with Xdebug, VVV, and Sublime Text
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 TextYou Broke It! Better Error Handling So Your Errors Don’t Suck!
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!