• Resolved romann

    (@romann)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Create (if you didn’t yet) custom templates for your categories and limit posts using quety_posts().

    Thread Starter romann

    (@romann)

    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.

    Thread Starter romann

    (@romann)

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

    Thank you, dor!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Subcategories posts’ is closed to new replies.