Support » Themes and Templates » want to show the number of posts of categories and archives

  • Resolved reimi

    (@reimi)


    now my blog’s sidebar looks like this:

    Categories
    -days
    -movies

    Archives
    -February 2007
    -January 2007

    but I want to show numbers of posts like this :

    Categories
    -days (2)
    -movies (5)

    Archives
    -February 2007 (3)
    -January 2007 (4)

    What should I do ?

    Thanks !

Viewing 3 replies - 1 through 3 (of 3 total)
  • Marty Spellerberg

    (@martyspellerberg)

    Not sure about archives, but for categories mine is…

    wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’);

    reimi

    (@reimi)

    thanks !

    wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’);

    Thanks Marty, but just where and in what file does this line of code go ??

    Regards
    Lee

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘want to show the number of posts of categories and archives’ is closed to new replies.