[Resolved] Query posts pagination – How to tell if there’s more pages and link to them?
I’m very close to finally finishing this page, but there’s one last thing that eludes me. I have a crazy query_posts call that includes all the various categories, and ids etc and of course I remembered to include paged=$_GET[paged] (not exact, but you get the idea).
Here’s the thing. When I print the results of the “query_posts” function using “while have post, the post” etc, how do I know if there are more results and, therefore, that I need to print a “next” button? Is there an auto function for that and, if not, does something query_posts return tell me?
- The topic ‘[Resolved] Query posts pagination – How to tell if there’s more pages and link to them?’ is closed to new replies.