Next Page Link shows same posts on custom template
It looks like you’re missing the “$paged” variable. This controls the pagination, along with the “posts_per_page” option you have set. Please see the following amended PasteBin: http://pastebin.com/U4teTA0F This ensures that the correct page is set when using “/page/2”. “/page/3”, etc. Code: <div id=”blogposts”> <?php global $paged; $catquery = new WP_Query( ‘cat=1&posts_per_page=6&paged=’ . $paged ); while($catquery->have_posts()) … Read more