Forums

[resolved] Subcategories posts (4 posts)

  1. RomanN
    Member
    Posted 2 years ago #

    Hello.

    Can somebody tell me how I can exclude subcategorie's posts from parent category posts?

    For example, I've some category 'Company' and it has 2 subcategories 'News' and 'About'. When I open 'Company' all posts from 'News' and 'About' subcategories are displayed too.
    How can I exclude them and display only 'Company' posts.

    Thanks.

  2. dor
    Member
    Posted 2 years ago #

    Create (if you didn't yet) custom templates for your categories and limit posts using quety_posts().

  3. RomanN
    Member
    Posted 2 years ago #

    Thank you, for quick response.

    Firstly I need to read about custom templates and query_posts() in wordpress codex and then try them.

    Hopes it'll be the thing I was looked for.

  4. RomanN
    Member
    Posted 2 years ago #

    Yes it's really the thing I was looked for.

    Thank you, dor!

Topic Closed

This topic has been closed to new replies.

About this Topic