Pagination within page templates?
-
I’ve setup a page template called ‘News’ which displays a list of the 5 most recent news entries and displays the_excerpt() allowing the user to click on the title to view the full article.
Each news item is a Post in the category of “news” but they are output on a Page (as noted above).
I’ve gone to add wp_link_pages() within the loop and after the_exerpt() but nothing displays. I’ve set the posts to display as 5 and I have 10 in the database. It shows the 5 most recent as it should be there just aren’t any page links at the bottom to flick to the next page of entries.
I know I’m running WordPress as more of a CMS so I was just wandering that wp_list_pages() was being affected by the fact that it displayed within a Page Template? Should this still work?
Is there anything which could be preventing the pagination controls from showing?
- The topic ‘Pagination within page templates?’ is closed to new replies.