WordPress.org

Support

Support » Themes and Templates » Count posts in parent category

Count posts in parent category

  • Hi!

    I was trying this code:

    <?php
    wp_list_categories('depth=1&show_count=1&include=17');
    ?>

    But it doesn’t give the number (it shows (1)) and
    it also display’s the name (link) of the category.

    Any suggestions ?

    Thank’s anyway!

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Count posts in parent category’ is closed to new replies.
Skip to toolbar