https://sangkrit.net/how-to-create-custom-post-types-and-taxonomies-in-wordpress/
How To Create Custom Post Types And Taxonomies In WordPress ?