I just want to display posts per one category (e.g. cat_ID=8).
Have tried:
<?php if (is_page()) { query_posts('cat_ID=8'); } ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
And...
<?php query_posts('cat_ID=8'); ?>
<?php if (is_page()) { query_posts("cat_ID=8"); } ?>
<?php if(is_category('8')) continue; ?>
<?php if (have_posts()) : ?>
<?php query_posts(array('category__and' => array(8,1))); ?>
<?php query_posts('cat=8''); ?>
Stuck! Shows blank white page when it's wrong, currently it is showing all posts.