[resolved] Request: Number of entries in categories published in sidebar (4 posts)

  1. wendyhouse
    Posted 10 years ago #

    As the default.
    This enables the reader to see very quickly the authors leaings and what they are letting themselves ib for when they select a category.

    Fabulous product - thankyou all for making it available for free.

    I'm requesting from using
    Wordpress: 2.02
    Theme: Orcadia
    Experience: Novice - no coding no plugins (that I've been able to make work, no 'hacking'

  2. irakrakow
    Posted 10 years ago #

    From the Admin menu, go to Presentation-Theme Editor. You will see a list of files in your theme. The file you want to edit is sidebar.php.

    Find where the wp_list_cats is called. Change optioncount=0 to optioncount=1.

  3. wendyhouse
    Posted 10 years ago #

    I followed your instructions and changed this text:
    ?php wp_list_cats(); ?
    to this
    ?php wp_list_cats(1); ?

    the category entry numbers still do not show.

    This is low priority - so I very much appreciate your taking time out of your busy schedule to answer this question :-)

  4. wendyhouse
    Posted 10 years ago #

    I've just discovered the formatting needed is
    ?php wp_list_cats('optioncount=1'); ?

    this has succedded - thankyou so much, and I'm now able to try-out other parameters for categories published. This helped 'kick-start' me as a novice :-)

Topic Closed

This topic has been closed to new replies.

About this Topic