Pagination on PAGES (not posts)
-
Hi. I have a documentation website that we are treating like a book (Chapters and pages within those chapters). So we are using pages instead of posts, so that we can take advantage of the hierarchy structure of pages, rather than a chronological structure that posts have.
We create a page that acts as a “chapter”, and then we create subpages within those “chapters”. Some subpages have their own subpages (so there are grandchildren as well). Any page that has children displays a list of those children (and grandchildren) — but not siblings pages or higher-level pages.
Right now, the only way to go from a (sub)page to the next (sub)page is to climb back up to the parent, and select it from there. This is fine, but we’d like to include an easier way to go from page to page (siblings). What we are hoping to get is pagination (like posts have) that allow you to go to next and previous (sibling) pages. This will allow the site to behave more like a book.
We don’t want to list out all the pages to the site because it clutters up the layout (there are a TON of pages), and even just showing direct siblings (from the parent’s children) is still a lot of clutter.
Part of me is thinking maybe it would have been better to have gone to posts, but then that wouldn’t have the hierarchy structure we want. Plus at this point, we’ve gone too far to go back now. ??
So my question is, how do I do this? Will it require a plugin? If so, does one exist? I have no PHP skills, so I rely heavily on what I can find online. Unfortunately, this is one thing I’ve not been able to find.
Any help would be sooooo appreciated! ??
- The topic ‘Pagination on PAGES (not posts)’ is closed to new replies.