Page navigation broken
-
In Reading/options, I have set display pages to ’10’ – which works fine on Search returns, Archives, Category pages.
On index.php I have used this snippet
<?php query_posts('posts_per_page=2'); ?>
To restrict the posts displayed on the homepage to 2 – works a treat. However, since implementing this, the previous_posts nav on the bottom of the homepage no longer works:
<?php next_posts_link('« Older entries') ?>
now points to the correct place, ie.,
https://www.examplesite.com/blog/page/2/
but serves up the index.php page again.
Any help greatly appreciated.
- The topic ‘Page navigation broken’ is closed to new replies.