displaying sub-categories on entry detail page