Posted on March 28, 2016
Don’t Repeat Yourself. Use WP Lib Loader instead!
I’m a huge fan of the DRY (Don’t repeat yourself) school of thought, and doing a thing once, and doing it well. Because of this, if I sense there’s any chance the code I’m writing is something that… Read More
Loading the Optimal WordPress Object Cache Implementation
On the webdevstudios blog, I wrote about wrangling your object-cache.php file. Check it out.
Posted on September 3, 2015
Script to Download High-Resolution Images from Instagram’s Website
For some unknown reason, at this time, Instagram does not offer a way to consume the raw images from their API. This means that the max-resolution available over the API is 612×612. This also means that those nifty… Read More
WPSessions: “Custom Meta and Settings with CMB2”
Last Friday I had the privilege to present on CMB2 for WPSessions. If you use CMB2 at all or are interested in getting started, I HIGHLY recommend you purchase that session.
Please support WPSessions and CMB2 by purchasing the session here.
My presentation/notes for that session can be found here.
Posted on May 13, 2015
My Sublime Text 3 Packages
I’ve really appreciated getting a glimpse into the ST3 tools others are using (the latest of which is John Blackbourn’s which was inspired by Dominik Schilling’s) and so here is my own. Here are the packages I use(d): Update 06-21-2017: For the… Read More
Posted on March 4, 2015
A function timer… function
Handy function that calculates your function/method execution time so you can optimize your code’s performance.
Posted on January 7, 2015
“CMB2: The Metabox Strikes Back” Presentation – WordCamp Raleigh ’14
This talk will cover using custom metaboxes, fields, and forms to provide structure to your data, as well as keeping WordPress very easy to use for clients. By leveraging CMB2, a major rewrite of the popular “Custom Metaboxes and Fields for WordPress” library, you’ll be able to enable all sorts of awesome things in your WordPress sites with minimal code effort.
Follow along with the slides over here.
Posted on August 23, 2014
Sending a server-side (WordPress/PHP) development environment variable to your scripts
This is written for PHP and/or WordPress, but the principle applies to any server-side language. First we’ll we’ll create a php function for determining our environment: This function will return 1 for production, 2 for your staging environment,… Read More
Posted on May 20, 2014
Alfred workflows is a new min-hobby for me, and as I create them to make my life easier, I’ll do my best to share them here. Alfred Gets Giffy (wit it): Alfred workflow to search WDS Giffy. Open Xcode… Read More