Hi,
On my home page I would like to be able to display posts from different catagories in different areas of the page.
To make my self clear - in one DIV I want posts from lets say category number 3, and in another DIV I want posts from lets say category number1 1.
So far I have -
code
<?php query_posts( 'posts_per_page=8','category_name=Case-Studies' ); ?><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?> ...
/code
and
code
<?php query_posts( 'posts_per_page=1','category_name=Home' ); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
/code
but the problem is that both parts display posts from only the Case_Studies category. Ive tried
code
<?php query_posts( 'posts_per_page=1','cat=-3' ); ?>
/code
as well to see if i could exclude the 3rd category but it didnt help. Any ideas?