You have to reset the query after the loop, like this.
endwhile;
wp_reset_query();
http://codex.ww.wp.xz.cn/Function_Reference/query_posts#Usage
Need a little more of the code to realy see the problem. But I hope that works.
Hey thank for your response…..unfortunately its still not working. I put wp_reset_query after endwhile; and I lost my post nav buttons, I tried putting it after the post nav buttons and I still just get one post, this is the loop for this page:
[Code moderated as per the Forum Rules. Please use the pastebin]
Thanks for your help, this has been a real problem.
oooops ok here is the code for the loop….
http://wordpress.pastebin.com/YEfer5jT
any help would be very much appreciated.
can anyone help with this?
resolved it with this:
<?php if (have_posts()) : ?>
<?php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(“category_name=somecat&paged=$paged”); ?>
<?php while (have_posts()) : the_post(); ?>