posts_nav_link creating Moebius strip
-
Hi there,
I’ve posted about this before, but nothing came of it. Toward having a front page with an arbitrary number of recent posts on it, I made a
home.php
file and added a call such asquery_posts('posts_per_page=5');
This works as expected. However, the
posts_nav_links
call doesn’t work correctly. The URL returned is something likehttps://www.erectlocution.com/boxing/page/2/
which only displays the same five most recent posts. Each successive clicking of “next page” results in iterative repetitions
https://www.erectlocution.com/boxing/page/3/
https://www.erectlocution.com/boxing/page/4/
https://www.erectlocution.com/boxing/page/5/I dug into
templates-functions-links.php
to try and find a way to make the output work correctly, but I couldn’t figure it out. It seems as if there is a disconnect between the output ofhome.php
and the remainder of the blog via these “next page” links as generated byposts_nav_links()
.Any thoughts?
- The topic ‘posts_nav_link creating Moebius strip’ is closed to new replies.