Helper function to check post meta for existence of search string
Today, I needed to find a way to search through the Carrington Build modules for the existence of a shortcode. Personally I needed this so that I could conditionally load some CSS in…
The random technical musings of Justin Sternberg
Recent technical notes
Technical notes, WordPress code, and durable snippets from Justin Sternberg.
The Clean Code Talks – “Global State and Singletons” Why Singletons have no use in PHP Testing Code That Uses Singletons Making Singletons Safe in PHP The “Missing” Patterns of the PHP…
If you’ve ever tried a web search for something like “top web hosts” or “best shared hosting,” you know that finding legitimate information is much like finding The Loch Ness Monster. A…
Basecamp classic showed a light yellow highlight under tasks assigned to me, but NEW Basecamp seems to have lost that UX feature. If you want a quick way to toggle those highlights,…
Occasionally you want to expand an object or array variable to see what it contains. Typically we would use a variation of print_r() or var_dump() to do this, but the down side is…
While updating my DsgnWrks Twitter Importer, I took the time to abstract the “Connect to Twitter” part. This will hopefully be an invaluable tool to anyone working with Twitter’s API in WordPress, or…
Debugging, if not THE top, is close to the top of a web developer’s activities. That being the case I think every developer should have a personalized and custom set of debugging…
What the OOP is a PHP Class?
Two days ago, Mark Jaquith wrote a post over on Make WordPress Core introducing the new default theme that will be shipped with WordPress 3.6 aptly named “Twenty Thirteen.” This theme is…