WordPress wp_list_categories() formatting

Any ideas on how this can be formatted to print out extra attributes in the wp_list_categories() function?

At the moment, this functions returns the following values:

Read More
  <ul class="projects">

       <li class="wp-post"><a href="category/projects">Projects</a></li>

  </ul>

How can I change this function to out put 'id' and 'title' tags for both 'li' and 'a' elements?

Is there a file somewhere that this can be directly edited or do I need to find a plugin?

Related posts

Leave a Reply

1 comment