Add category to post metadata