added custom post.php

Added the custom post type php file to the repo