add category hierarchy to single post