adding function to grab category custom fields