Is there any way/code for WordPress to show only the parent categories when browsing the main page/site yet when a category is clicked/browsed, show the subcategories under it?
Okay, rather confusing question. Let me rephrase with a scenario type.
Say I have categories A, B, and C. These categories are displayed on the side bar at all time.
Now when I browsing category A, the subcategories under it (a-a, a-b) would then appear.
If I went to category B, then the subcategories for A would dissapear, and the subcategories (if any) for B would appear.
Hope I made that clear enough. Any ideas?