WordPress.org

Ready to get started?Download WordPress

Forums

What is this? (Sorry if this has already been answered) (5 posts)

  1. lee demain
    Member
    Posted 1 year ago #

    Hi

    Sorry if this sounds ridiculous, but what would you call the numbers at the side of categories, i.e

    Awards ---->(29)<-----
    Branding (2)

    I've no idea how to describe them, might be just a mental block.

    If anyone can point me in the direction of how to get them display too, that would be much appreciated.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    From your description, they appear to be the number of posts in each category.

  3. alchymyth
    Forum Moderator
    Posted 1 year ago #

    how to get them display too

    if you are using the default 'Categories' widget, open the widget and tick 'Show post counts';

    if this is hardcoded into the sidebar, edit sidebar.php (?) of your theme, locate wp_list_categories() and include the 'show_count' parameter and set it to 1;

    http://codex.wordpress.org/Template_Tags/wp_list_categories

  4. lee demain
    Member
    Posted 1 year ago #

    Excelent, cheers alchymyth.

  5. lee demain
    Member
    Posted 1 year ago #

    Quick question, where can I edit the categories, I need to put a span around the rendered posts numbers...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.