I want to have a category widget which shows all categories in the same family as the current category, or lists the top categories only if no category is selected.
eg; If I have these categories:
Cat1
- cat1.1
- cat1.1.1
- cat1.2
-cat1.2.1
- cat1.3
Cat2
- cat2.1
- cat2.2
Cat3
- cat3.3
And if I am in category "cat1.2" I want it to list all categories from Cat1 down and nothing else, or only the top of Cat2 and Cat3.
I have searched but can't find anything to do this
Thanks!