In a blog, I am using
prev_post_link() extensively on posts.
I also have a number of pages that I show in a WP3 menu. They are organized in topics and sub-topics e.g. like so:
Home About - Subpage 1 - Subpage 2 - Subpage 3 Contact
I would like to set up a "previous" and "next" navigation on these pages as well, so that when I'm on "About"'s Subpage 2, I can navigate to Subpages 1 and 3 using the "next" and "previous" arrows.
The default behaviour of
prev_post_link() doesn't work for this: It calculates the next and previous items based on the list of all pages.
Is there an easy way to make
prev_post_link() sensitive to my menu structure, or will I have to build this myself?