title: Wordpress archive permalink with leaf category
body: <p>Wordpress Category Archive permalinks set up with %category% include the full category tree. I want to see only the leaf category in the URL, not the full tree.</p>
  
  <p>Example:</p>
  
  <pre><code>Wordpress Category: recipes &gt; baking &gt; bread
  current permalink for archive: domain.com/recipes/baking/bread
  desired permalink: domain.com/bread
  </code></pre>
  
  <p>I've been searching the web without any idea how to hook or filter this change into my wordpress code, so any ideas and help is highly welcome.
  thanks
  Jan</p>