Support » Fixing WordPress » Archives outputting all child categories…how to limit?

  • Resolved Craig Sunney

    (@craigsunney)


    Hello all.
    My first post here. Hope someone can help. Existing solutions stopped working on WP2.7

    This is about archive pages.

    While building a test site, I have noticed that WP lists an output of posts from all of a parent’s sub-categories as well as the parent category.

    Said differently, on archive page “cat_parent” wp will also list posts from child_cat1…. child_cat2…child_catn
    and
    grand_child_cat1…grand_child_cat2…etc

    How can I tell wordpress.

    On archive pages....just list posts from this category only, ignoring any child_category post, and ignoring grand_child_category posts too. Thanks wordpress :)

    Craig
    P.S. I’m using Thesis theme, so ideally a custom function would be ideal for the custom_functions.php file. A styling class would be super too 🙂 But all contributions welcome.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Archives outputting all child categories…how to limit?’ is closed to new replies.