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.

last

Add class to last post in loop

Use this code to add a class to the last post in a WordPress loop.

Grunge WordPress logo

Historic WordPress

Demos of earlier versions of WordPress. Most of the links still work, so you can still navigate your way around 🙂

redirect

Redirect entire WordPress site

Code which allows you to redirect an entire WordPress website to another URL whilst keeping the file structure in tact.

simplicity

Simple CMS theme

An example of the simplest WordPress theme possible. This theme is ideal as a development platform for creating static websites.

plugin-review-notice-thumb

Plugin reviews

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.

hellish100_thumbnail

Hellish Simplicity theme

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.

The view of the live example WordPress admin page.

Example options page for WordPress

This is my new go to snippet for admin settings pages in WordPress. Feel free to copy and paste it into your own projects.

View of the example meta box code in action.

Example WordPress meta box

I use this snippet to build new custom meta boxes. Feel free to copy, paste and modify to suit your needs.

cdn-rewrites

My CDN code

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.

rev-counter

Performance stats

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.

Dropdown menu generator

Dropdown Menu CSS Generator

CSS code generator for creating your very own dropdown menus. No coding skill necessary!

Screenshot of the localhost plugin in action

Know when you are on localhost!

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.

ServerMove

Server move plugin

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.