[Resolved] Display posts from one category only
I have a website based on the TwentyTen theme.
It uses a static front page and there are posts in five categories on five separate pages, each page showing posts from one category only… except for my “main blog page” which for some reason shows the posts from all categories, despite trying various modifications to the code which are posted in the coda and on this forum.
Might it be something to do with it not being the front page? Anyhow here is the code that is in my template present:
I have also tried
<?php query_posts($query_string . '&cat=1'); ?>
This is my first site in WordPress, so apologies if any of the terms are incorrect and thankyou for any help you can give.
Polite Request: I have searched the coda and tried various solutions posted elsewhere in the forum so please do no reply by just posting links to these.
- The topic ‘[Resolved] Display posts from one category only’ is closed to new replies.