My boilerplate for a WordPress custom post type. Registers type, messages, and taxonomy.