Deletes custom post type template and log