I’ve created custom page templates showing the posts for different categories on each page, and would like to limit the number of posts per page to 6.
query_posts('categoryname=news&posts_per_page=6');to the page and it displays the correct category and limits it to 6 posts, however when I go to page/2 it displays the same 6 posts and so on.
How do I get it to show the next 6 posts as I wish?
Any help appreciated.
- The topic ‘Posts per page shows same posts on each page’ is closed to new replies.