Forums

[resolved] Sub category post not display in category (6 posts)

  1. thailandliving
    Member
    Posted 2 years ago #

    Hi,

    When I make a post in a sub category I don´t want that post to be showned in the parent category.

    What shall I do to avoid that?

    thanks..

  2. jacobwh
    Member
    Posted 2 years ago #

    You mean in your category posts lists? So in a category page of posts, you don't want your subcategories to be posted as well?

    This is what I am looking for too.

  3. thailandliving
    Member
    Posted 2 years ago #

    yes excatly but I can´t figure out how. It must work somehow. Maybe I can find a plugin for this...

  4. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    You could create a template for this category and then use query_posts to exclude the sub-categories.

    http://codex.wordpress.org/Category_Templates
    http://codex.wordpress.org/Template_Tags/query_posts

  5. thailandliving
    Member
    Posted 2 years ago #

    I just found the plugin for it :)

    http://blogwaffe.com/2005/05/31/294/

  6. MichaelH
    Volunteer
    Posted 2 years ago #

    That plugin, Just one category, is also here:
    http://wordpress.org/extend/plugins/just-one-category/

Topic Closed

This topic has been closed to new replies.

About this Topic