Damon Cortesi's blog

Musings of an entrepreneur.

Wp_list_cats and Indentation

| Comments

amanda had a question for me about my indented categories in my sidebar using the Minima Plus theme. I figured I’d make a post out of it instead of replying in the comments.

I had the biggest problem getting those categories like that. I tried every combination of parameters possible and was getting nowhere. If you take a look on the Wordpress forum (specifically, this thread) you will see that other people were having similar problems.

I found the answer in another thread which turns out to be use list_cats instead of the new wp_list_cats. Apparently there is a bug with the latter which will be fixed in WP 1.5.1.

Here’s the actual line I use in my sidebar template:

< ?php list_cats(0, '', 'name', 'asc', '', true, 0, 1, 0, 1, 1, 0,'','','rss','','','1') ?>