title: Combining tags and categories
body: <p>I have set up a custom post type with custom tags and categories. </p>
  
  <p>I want to show posts by country AND by category and the categories need to be common to all countries. So if the user chooses a country from a drop down (or something) then all the categories of that country should be listed.</p>
  
  <pre><code>South Africa
     - Sport
        -- Golf
          --- Irons
  </code></pre>
  
  <p>One option is to make the countries all PARENT categories with unique child categories for each country. But that will eventually get complicated and show looooong lists of duplicated category names in the post editor. Not a very smart way you'll agree. </p>
  
  <p>The other option I thought about was using Tags and Categories together, where the countries could be added as tags and the categories would then all be common. My question is how would I make a dynamic list of countries that will display the categories from a particular tag/country?</p>
  
  <p>Is there maybe a simpler/better option you can suggest?</p>
  
  <p>EDIT
  @Mike Thanks for this. This is the route I have been playing with since posting the Q, kind of. I have set up a custom post type with a custom hierarchical taxonomy called Product Categories and another custom non-hierarchical taxonomy (tags) called Countries. I then created a new archive template that displays all the tagged posts. At the moment it displays all the tagged posts but what I am trying to get it to display is a list of categories in a tag instead... if that is at all possible. So say now I have two posts: 1. Brown Sneakers which is in the Category GOLF child of SPORT and tagged USA and 2. Pink shorts which is in the Category LADIES child of CLOTHING and tagged USA... when viewing USA tag page I would like to see as a list CLOTHING and SPORT (with its sub cats of course). There are going t be many countries sharing categories like sport and clothing.</p>