WordPress: machine custom post type