Posted on January 6, 2015
Posted on January 7, 2015
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 December 20, 2014
Code Snippets CPT is a WordPress plugin for managing and displaying code snippets. It adds a custom post type for managing your code snippets with taxonomies for classifying the snippets. But what’s a snippet if you can’t display it? Syntax… Read More
Posted on August 23, 2014
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 June 27, 2014
After maintaining CMB for some time, I’ve had to learn some of the principles in the following articles the hard way, and am planning on integrating those that I haven’t yet. “Merge pull request” Considered Harmful The ‘Merge Pull Request’ button, although… Read More
Posted on January 15, 2014
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 Manual — Singleton Why Singletons are… Read More