0 Simple Tutorial Showing How To Use Composer in Your WordPress Plugin or Theme I love Composer. It just makes including libraries or scripts in your app incredibly easy. So easy that it’s stupid not to use it (in many, if not most cases). The number of libraries/scripts available on Packagist is astounding, all of […]

0 A jQuery Plugin for Making Circles My last post about the jQuery plugin Circliful was pretty popular. So, here’s another, detailing how to actually use Circliful. Circliful has a number of options that can be set as data attributes. Data attributes are the primary method for setting various options, such as the circle background […]

0 Easily Reset WordPress Database WordPress Database Reset is a WordPress plugin I recently came across that will at some point prove very, very useful to me. It’s not often that I need to reset a production WordPress database to it’s default settings, but this plugin will make the task a whole lot easier. Chris […]

0 Lolcat-style photos as you commit I’ve always had problems installing lolcommits on Xubuntu and other Ubuntu-based Linux distributions. The installation instructions are very simple. Only requiring you to run two commands, sudo apt-get install mplayer imagemagick libmagickwand-dev and then sudo gem install lolcommits (need sudo for linux). Pretty simple. The gem install lolcommits command […]

0 Here’s how I load scripts and styles in WordPress themes, in functions.php. function load_scripts() { // load styles wp_enqueue_style( ‘custom-css-1’, get_stylesheet_directory_uri() . ‘/css/custom-css-1.css’ ); wp_enqueue_style( ‘my-secret-script-css’, get_stylesheet_directory_uri() . ‘/css/my-secret-script.css’ ); // load javascript wp_enqueue_script( ‘my-secret-script’, get_stylesheet_directory_uri() . ‘/js/my-secret-script.js’ ); } add_action( ‘wp_enqueue_scripts’, ‘load_scripts’ ); The above code would load up two css files, custom-css-1.css […]