class for making wp custom post types