WordPress.org

Ideas

Page Numbers for Navigation

  1. Junquan
    Member

    12345

    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.

    Posted: 4 years ago #
  2. I agree this should be part of the core and not a plugin. It makes sites so much more usable.

    Posted: 4 years ago #
  3. iPad
    Member

    12345

    Do you by chance have a patch or workaround for the page count errors?

    Posted: 4 years ago #
  4. Unsal Korkmaz
    Member

    12345

    This is fully plugin job i think.

    Posted: 4 years ago #
  5. Techie
    Member

    12345

    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.

    Posted: 4 years ago #
  6. elgranerito
    Member

    not that interesting

    Posted: 4 years ago #
  7. I actually think its a veeery interesting idea..

    +1
    Great Idea!

    Posted: 4 years ago #
  8. parfumteam
    Member

    This worked well for us and helped us to change the navigation. Many thanks +1

    Posted: 3 years ago #
  9. Glen Charles Rowell
    Member

    12345

    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.

    Posted: 3 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    31 Votes
  • Status

    This is theme territory