Custom Template Pagination
I have a custom page template that I’m trying to paginate using a custom loop. When you click the next link it takes you to my 404 page saying the page doesn’t exist, but when I print the $query_string it shows paged=2&pagename=games. Any thoughts as to what I am doing wrong?
<? global $paged; query_posts('post_type=game&orderby=title&order=asc&paged=' . $paged); ?>
- The topic ‘Custom Template Pagination’ is closed to new replies.