The following are a series of tools and themes I've created. To see some of my older work, check out my deprecated code page.
Use this code to add a class to the last post in a WordPress loop.
Demos of earlier versions of WordPress. Most of the links still work, so you can still navigate your way around 🙂
Code which allows you to redirect an entire WordPress website to another URL whilst keeping the file structure in tact.
An example of the simplest WordPress theme possible. This theme is ideal as a development platform for creating static websites.
To encourage WordPress plugin users to review my plugins, I now use this code adapted from Rhys Wynne to prompt them to provide reviews on WordPress.org.
Hellish Simplicity is a clean simple design. Responsive design makes the theme look good on all devices and the header text can be easily modified.
This is my new go to snippet for admin settings pages in WordPress. Feel free to copy and paste it into your own projects.
I use this snippet to build new custom meta boxes. Feel free to copy, paste and modify to suit your needs.
There are lots of “recommended” ways to do CDN’s in WordPress. Personally, I prefer to keep it simple and simply buffer the output and rewrite the URL’s.
I like to see how fast pages are loading and how many queries are being executed per page. For that, I use the following bit of code.
CSS code generator for creating your very own dropdown menus. No coding skill necessary!
Ever been infuriated by accidentally doing something silly to your production environment after messing with your hosts file? This plugin can help alleviate that problem.
Adds a simple statement to the top of the admin panel, alerting the contributors to your site that any edits they make will be lost due to the site undergoing a move to another server.