title: Unable to style Wordpress wp_list_categories
body: <p>I have problem displaying my <code>wp_list_categories</code> with Style. I am already using args, etc but that does not seem to help with the problem.</p>
  
  <p>I want to display same sub-categories for single article.</p>
  
  <p>Here my code :</p>
  
  <pre><code>&lt;?php
  if (is_home()) {
      wp_list_categories('orderby=id&amp;title_li=none&amp;depth=1');
  } else {
      $category = get_the_category();
      $cat_term_id = $category[0]-&gt;term_id;
      $cat_category_parent = $category[0]-&gt;category_parent;
      $listcat = wp_list_categories('echo=0&amp;child_of='.$cat_category_parent.'&amp;title_li=');
      $listcat = str_replace("cat-item-".$cat_term_id, "cat-item-".$cat_term_id." current-cat", $listcat);
    if ( in_category( $cat_term_id ) || post_is_in_descendant_category( $cat_term_id )) {
        echo $listcat;
    }
  }
  ?&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>and here is the result :</p>
  
  <p><a href="http://i.stack.imgur.com/buYyl.jpg" rel="nofollow">http://i.stack.imgur.com/buYyl.jpg</a></p>
  
  <p>I want the result will be like this :</p>
  
  <p><a href="http://i.stack.imgur.com/U3Pc6.jpg" rel="nofollow">http://i.stack.imgur.com/U3Pc6.jpg</a></p>