WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to avoid double (or triple) posting in main categories of subcategories (5 posts)

  1. fix22
    Member
    Posted 7 years ago #

    How do I avoid posts that are being made in a sub-category (or in a sub-sub category) from showing up in the main (or main and sub-category in the latter case) page?

    For instance if this is the category/tag layout:
    cat1>subcat1>subsubcat1

    And I post to subsubcat1 than the post will show up in subcat 1, in cat1 and on the homepage. If I post to subcat1 it will show up in cat1 and on the homepage.

  2. fix22
    Member
    Posted 7 years ago #

    Has anyone got an idea about this one?

  3. Chris_K
    Member
    Posted 7 years ago #

    What plugins are you running?

    What happens if you disable them all?

    If things work better with them disabled, selectively enable one by one, retesting along the way.

  4. moshu
    Member
    Posted 7 years ago #

    Unfortunately, that's the deafult behaviour of WP: if a category is selected, it will display not only its own posts but all the posts in its children categories, too.
    Fix: http://ryowebsite.com/wp-plugins/nosubcats/

  5. fix22
    Member
    Posted 7 years ago #

    Moshu - thank you!! Just what I needed!

Topic Closed

This topic has been closed to new replies.

About this Topic