On a category page, how do you display a list of other categories that all posts (on that category page) have in common?
For example, On category "A" page there are 5 posts listed. Those posts are also categorized under "B" and sub-categorized under "B-1", "B-2", etc. On the sidebar of category "A" page I would like to display any of the sub-categories of B ('B-1', 'B-2' and so forth).
In other words, how to display other categories related to the posts on the 'category A' page, but are not necessarily sub-categories of 'A'. Make sense?
Any help ASAP would be great!!! Thanks.