Forums

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

  1. thailandliving
    Member
    Posted 1 month 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 3 weeks 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 weeks ago #

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

  4. esmi
    Member
    Posted 2 weeks 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 weeks ago #

    I just found the plugin for it :)

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

  6. MichaelH
    moderator
    Posted 2 weeks ago #

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

Reply

You must log in to post.

About this Topic