Page Numbers for Navigation
Add a wp_page_numbers() function to display n pages by increments of 1 and m pages by increments of x. It should also tell you what page you are currently viewing and how many total pages there are.
The result of the function could be (if n=5, m=3, and x=5):
Page 2 of 33 < 1 2 3 4 5 .. 10 .. 15 .. 20 .. 33 >
This is a rough idea, but I'm sure it could be cleaned up and styling added to make it quite versatile.
See: http://www.jenst.se/2008/03/29/wp-page-numbers/ for an example.
I agree this should be part of the core and not a plugin. It makes sites so much more usable.
Do you by chance have a patch or workaround for the page count errors?
This is fully plugin job i think.
I am strongly against this. I can't see a practical use for it (noone would skip pages ahead in a search or in categories) and it's just adding links with horrible anchor text. That's why I'm going to agree with unsalkorkmaz and say this could be done with plugins and it shouldn't be a core thing.
I actually think its a veeery interesting idea..
This worked well for us and helped us to change the navigation. Many thanks +1
I think it should be a standard option in WordPress. Most of the page plug-ins for the next button need you to edit the PHP code... WordPress should be easy to setup and be able to do amazing things out of the box :) I had a next page button in my old site and lots of people used it but I had to manually put in all the buttons... It would be nice if WordPress implemented something like this.
RSS feed for this topic
You must log in to post.