Completed WordPress custom post type sample!