WordPress.org

Ready to get started?Download WordPress

Forums

Make parent's count include posts using wp_list_cats optioncount (4 posts)

  1. jaacob
    Member
    Posted 8 years ago #

    I am using the hierarchical view with post counts showing for categories with wp_list_cats - One thing I've noticed is that if you click on ParentA, it will show you posts that have been categorized as ParentA as well as ChildA.1 and ChildA.2 - as I want it to. What it doesn't do is in the post count next to ParentA - it only shows posts that are explicitly categorized as ParentA without including any posts that are only categorized as the children categories. Is it possible to make the ParentA count to include it's children's post counts?

  2. drabiej
    Member
    Posted 8 years ago #

    I'm also looking for a solution to this problem.

  3. newmomsforum
    Member
    Posted 7 years ago #

    Hi Guys, I'm also looking for a solution to this - Was one ever found? :)

  4. duanej
    Member
    Posted 7 years ago #

    I too would like to find a way to do this.
    I imagine that we'll have to delve into the PHP and edit it manually...

Topic Closed

This topic has been closed to new replies.

About this Topic