• Let’s say I have a static page at: “domain.com/static”. I’ve also read through this guide: https://codex.www.ads-software.com/Next_and_Previous_Links and was successfully able to place “Previous Page” and “Next Page” links at the bottom of the static page by editing my theme’s Page template.

    However, the pages that are linked on “Previous Page” and “Next Page” are based on the ID of the pages. For example, if I’m on the page “domain.com/static”, by clicking on “Next Page”, it would end up going to the page that was created after “domain.com/static” was created.

    The way I want the pagination to behave is for “Next Page” to be linked to: “domain.com/static/page/2”.

    My questions are:

    1. How do I set up pagination on Pages to behave like this?
    2. How do I actually go about editing the content of the paginated page: “domain.com/static/page/2”? Would this exist somewhere in the “All Pages” section of the dashboard?

Viewing 3 replies - 1 through 3 (of 3 total)
  • what are you trying to paginate?

    static pages normally do not have multi-post loops …

    or are you referring to https://codex.www.ads-software.com/Styling_Page-Links

    Hi! static page are only to show as page, not like blog. They are acting just page it mean they don’t have continues page (example: contact us, about).

    If you placed custom post loop in your static page you can go prev and next for these posts by using pagination function.

    you can read more about pagination here.
    https://wp.tutsplus.com/tutorials/wordpress-pagination-a-primer/

    Hope this might help you! good luck with your project.

    Thread Starter pantone

    (@pantone)

    alchymyth – Thank you for the Styling Page-Links resource. That is basically what I am trying to do on the static page. I quickly tested it out on my static page and the URL of page 2 appears as: “domain.com/static/2”.

    Do you know if it’s possible to edit the URL of the multi-page so it appears as: “domain.com/static/page-2”?

    KaugKo – Thank you for the information about the pagination function. I will look into this more.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with Pagination on Static Pages’ is closed to new replies.