Listing all slugs?

Hi @Wordpressor:

Sounds pretty simple so I’m concerned I misunderstand, but in case I did understand correctly here’s a function; just pass the taxonomy to it like this: echo get_taxonomy_list_html('category'):

function get_taxonomy_list_html($taxonomy) {
  $term_links = array();
  foreach(get_terms($taxonomy) as $term) {
    if (!empty($term->slug) && $term->count>0) {
      $link = get_term_link($term,$taxonomy);
      $term_links[] = "[ <a href="https://wordpress.stackexchange.com/questions/8326/{$link}">{$term->name}</a> ({$term->count}) ]";
    }
  }
  return implode(' ',$term_links);
}

tech