https://mamchenkov.net/wordpress/2015/04/24/extending-wordpress-with-custom-content-types/
Extending WordPress With Custom Content Types