title: Woocommerce+Show a menu with only the active category and sub-category
body: <p>I have a menu structure that looks like this:</p>
  
  <p>Categorie 1 <br />
  - Sub Category<br />
  - Sub Category<br />
  Categorie 2 <br />
  - Sub Category<br />
  - Sub Category<br />
  Categorie 3</p>
  
  <p>But I only want to show the active category with it's subcategories on the product archive and product detail pages. Like this:<br />
  Category 3<br />
  - Sub Cat<br />
  - Sub Cat</p>
  
  <p>The woocommerce widget shows all the categories and only the subcategories from the active category so I think it's not that hard to fix it but I can't find a solution on the internet</p>
  
  <p>(I fixed it by making different custom menu's and an if else function but with products in multiple categories it doesn't work well.)</p>