Francois @ WP Paging


Hey there. Thanks for this awesome plugin. But I have a problem. It displays the first page fine with 10 posts as I specified it. But when I click page two it displays ALL posts on one page and not the next 10 posts? How do I fix this? This is my code:

$latestposts_no = get_option(‘designpile_latest_posts’);
if($latestposts_no != null){
$posts_query = new WP_Query($query_string.’posts_per_page=’.$latestposts_no);
$posts_query = new WP_Query($query_string.’&posts_per_page=6&paged=’.$paged);
$odd_or_even = ‘odd’; ?>
have_posts()) : while ($posts_query -> have_posts()) : $posts_query -> the_post(); ?>
<div class="homePost ”>