Next Page does not display existing items using Page Template
-
Working on my customized blog. Have searched the forum and the codex, pulled out my remaining hair and gave my first born but still can’t make it work. Hoping that somebody can help me back on track.
When using the index.php to display sub-category results the paged navigation works fine, see example at sub-category listing.
But when I use a Page template to display all items from all sub-categories, only the 1st page shows items (depending on the amount I set in the preferences). The code for the next item and/or next page seems to work fine because the URL will show /page/2 but it’s just displaying the items of the first page again. Example: design category
I’ve tried posts_nav_link() and next_posts_link (you can see the 2 links at the bottom, above the footer.
What I do not understand is why a Page template would ‘react’ so differently and why the remaining images don’t show. And I definitely have no clue on what I am doing wrong here – it seems that only the first images get read and the rest dropped into nirvana. I’ve even installed different plugins, thinking my code was not correct but they all showed the same result. Obviously there SHOULD be more items on more pages but the pages don’t truly get generated (?) and thus it remains sitting on the first page of the item listing… my guess.
Thanks in advance for any pointer.
- The topic ‘Next Page does not display existing items using Page Template’ is closed to new replies.