Support » Fixing WordPress » How to display a link to “all” categories?

  • I’ve installed v1.0.2 and changed the default category list code to:
    <?php list_cats(1, ‘all’, ‘name’, ‘asc’, ‘index.php’, 1, 0, 1, 1); ?>
    but it still doesn’t work. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • does not the original code show all the categories? :O(

    Actually, the original template has the line
    <?php list_cats(0, ‘All’, ‘name’); ?>
    the “0” meaning don’t display the “All” link.
    That is, if it worked. I’m a PHP noob, but looking at the template-functions.php file, it *seems* the function list_cats() doesn’t even do any checking for $optionall — dropdown_cats() does.
    All in all, not a big deal, as I can hard code in my own link. But, I was just wondering if I was doing something wrong. Or if something really is a little off in the blakey release.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to display a link to “all” categories?’ is closed to new replies.