adding custom field support to post type