Category Archives: Development

WordPress is_blog()

Instead of creating a big if statement to figure out if something is in single/archive/blog index etc just use this nice little function I found here.

Change WordPress Email From: Name

I’ve recently had the need to change the name and email address on emails which come from WordPress and at first glance it looks pretty difficult, most forum posts suggest hacking the core to make it work.

Unnecessary, just put this into your functions.php

Redirect Page to First Child

I had the need to redirect a parent page to its first child with no user interaction. Quite simple really…

A wee refresh

Not sure if I like it….

List of Custom Post Type Categories

Its always the little things I forget and today it was how to list out categories based on a custom post type (or not, really). Really, its very simple