• Resolved chadcdavis

    (@chadcdavis)


    Hopefully this is a simple one, I’m having a bit of trouble finding the answer on my own because of the noise that’s coming from my searches.

    I’m not interested in pagination.

    What I’m looking for is, say I have this hierarchy of pages by way of creating the pages as children of the appropriate parents and assigning the pages an order:

    – People
    – – Chad
    – – – Biography
    – – – Resume
    – – – Portfolio
    – – – Foo
    – – – Bar
    – – Matt
    – – – Resume
    – – – Bar
    – – – Foo
    – – Russell
    (etc)

    Assuming that I’m in Chad’s Portfolio page, how do I generate “next/previous” style links for “Resume/Foo” respectively within a template?

    I can’t get the next_post_link / previous_post_link functions to work and am not sure if I’m doing something wrong or if those functions even work with pages in this respect at all.

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to get “Next/Previous” for a page’ is closed to new replies.