made a custom fields template for the custom post type