WordPress.org

Forums

[resolved] wp_list_cats (3 posts)

  1. veronique-m
    Member
    Posted 9 years ago #

    bonjour.
    i wish the category parent page would not display the category children posts
    j'aimerais que la page parent des catégories ne reprennent pas les posts des enfants de cette catégorie
    the link displays the correct number of posts within the parent category (without the children posts) but the page displays all of them.
    thanks a lot
    To be or

  2. veronique-m
    Member
    Posted 9 years ago #

  3. veronique-m
    Member
    Posted 9 years ago #

    works fine
    all i had to do was indeed
    to comment a single line

    //$whichcat .= get_category_children($q['cat'], " OR category_id = ");

    in wp-includes/classes.php

    thanks a lot

    problem is solved

Topic Closed

This topic has been closed to new replies.

About this Topic