If you're view a child page, how do you get the next "sibling" ?
Page "My Colors"
Child Page "Red"
Child Page "Green"
Child Page "Blue"
If I'm on page "Green" what is the easiest way to get the data for page "Blue"?
The easiest way to do this is to have "Include in top nav" checked for the parent and subpages. That will add them to a drop down menu, and it will also add a subnav of the subpages to the top of the content area. An example of this is the NationBuilder FAQ page.
If you don't want the pages to be in a drop down, or to be included in the top nav, you can edit the subpage (aka child page) template so the subnav is shown even if you "Include in top nav" isn't checked. Just replace this:
With this:
<div class="subnav_container" id="subnav_container">
<div class="navbg">
<ul id="subnav">
</ul>
</div>
</div>
<div style="clear: both;"></div>
/cain is a page. /able is a page. They are both descendants of /adam
How do I print /able ’s title (or any other object) within the /cain page? Is there a good solution for referencing a page via a sibling?
If you're view a child page, how do you get the next "sibling" ?
Page "My Colors"
Child Page "Red"
Child Page "Green"
Child Page "Blue"
If I'm on page "Green" what is the easiest way to get the data for page "Blue"?