Hi, Just a simple one. I have this little bit of code in my wordpress sidebar: <ul> <?php wp_list_cats('sort_column=name'; 'optioncount=1'); ?> </ul> Obviously it is not working but I would like it to be....LOL It's to sort the category list and also count how many posts in each cat. Any help appreciated!! Thanks, Col
Umm, shouldn't it be a comma ',' instead of a semi-colon ';' separating the 2 parameters...? such as: <ul> <?php wp_list_cats('sort_column=name', 'optioncount=1'); ?> </ul>
I was looking at the function for that, and on the Wordpress site it only shows 1 argument/parameter. '<?php wp_list_cats('arguments'); ?>' http://codex.wordpress.org/Template_Tags/wp_list_cats What about this? <ul> <?php wp_list_cats('sort_column=name&optioncount=1'); ?> </ul>
That's done it! Yippee! Thanks mate!! Check it out at www.livefootballbusiness.com Now I just have to sort out my categories at www.cancer-treatment-help.info Col