RomanN
Member
Posted 3 months 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.
Create (if you didn't yet) custom templates for your categories and limit posts using quety_posts().
RomanN
Member
Posted 3 months 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.
RomanN
Member
Posted 3 months ago #
Yes it's really the thing I was looked for.
Thank you, dor!