Get categories of a post