Jump to content


This topic is now archived and is closed to further replies.

Houston Haynes

Page hierarchy traversing (a la Pagelines)

Recommended Posts

Houston Haynes

I'm still "piercing the veil" of platform 5, with page navigation the current subject of interest. I worked with a few plugins (the most useful being Next Page Not Next Post) but I wanted to take a step back and start with an example - and see if I could get a bit of help "inside the beltway". 

What I'm looking to do is substantially similar to the pagelines docs pages - see my annotated screenshots attached. At the top of a "child" page I want a link back to the "parent" page - and at the bottom of that "child" page I want to place a similar link to the "grandchild" page. At the bottom of each grandchild page I want there to be navigation "buttons" to sibling pages in the hierarchy. 

"Next Page Not Next Post" handles what I'm expecting for "sibling" navigation, but I'm having a bit of trouble getting over the logistical hump of applying that functionality to my page "Template C" instance only. And per the attached examples, while researching how to solve this problem I see on the Pagelines site *itself* that the navigation elements are in place - and I especially like the oval button formatting of the sibling page navigation.

So - really, my question is two-part:

  1. Are there plugins/code snippets/tutorials/threads here that show how Pagelines achieved their page hierarchy nagivation, and 
  2. Is there a tutorial (or advice from generous contributors here) on how to use the PHP templates to override the content portion of the page to add the navigation elements?

Thanks in advance!

Screen Shot 2016-08-17 at 6.58.47 PM.png

Screen Shot 2016-08-17 at 6.59.31 PM.png

Share this post

Link to post
Share on other sites
Houston Haynes

OK - starting to answer my own question... again. :cool:

I'm circling out to explanations of the Page Template here and here. Once I grok that, then I'll look into aping the CSS for the sibling nav on the Pagelines site.

Share this post

Link to post
Share on other sites
Houston Haynes

OK folks - I'm still on the hunt for a hand-hold on doing page-to-page (sibling or cousin navigation) as well as sub-heading navigation within the targeted page. The best example of this is the Pagelines Platform 5 documentation. (See attached) Can anyone give me a starting point? Maybe the developers at Pagelines can provide a pointer or two? Thanks in advance...

Screen Shot 2016-08-30 at 9.58.12 AM.png

Share this post

Link to post
Share on other sites
Houston Haynes

I have been filled via the Facebook discussion group in on how this is a Pagelines "Resources" section functionality. After Chris Ayers cribbed me through some of the perfunctories - and a bit of spelunking on my own - I still have yet to see the type of navigation I'm expecting "by default". The one thing I noticed in the Pagelines resource is


Finally, note that chapters are controlled via CPT ‘terms’. Create a new category and it should show up as a chapter in the section.

So - should I be creating categories *first* in the post section of the site? I created the categories directly in the resources section. So I'm (more than) a bit confused at this point.

Screen Shot 2016-08-30 at 1.21.23 PM.png

Share this post

Link to post
Share on other sites

  • Similar Content

    • Liv Kundalini
      By Liv Kundalini+
      Hi -
      Pulling my hair out over here, and would love an assist!
      Site I am building, http://www.livkundalini.com/home, has a problem with the submenu items in the nav not appearing. 
      If anyone wants to see what the Nav should look like, feel free to look in the footer on the left hand side.
      Have tried disabling Pagelines and using the twentyseventeen theme, but problem persists.
      Saw this error (pasted at the bottom of this post) displaying in the inspector, and saw discussion of Jetpack potentially being a culprit. Disabled Jetpack, but the problem persists.
      Had the hosting company even flush the server-side cache, but no avail.
      Any thoughts? Please? It's the only thing keeping me from launching this site!
      Many Thanks,
      WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403   O @ (index):7
    • bnapoli
      By bnapoli+
      http://731.34b.myftpupload.com/ this website is using the NavPro navigation in Platform 5. It has a lot of menu items, so it breaks to two lines when the window is sized down. What is the media query to make the navigation either a) switch to "mobile mode" at a higher width, or b ) expand the nav into two lines. Thanks
    • nadielp
      By nadielp+
      Hi Everyone,
      I am trying to get a single navigation item to center. I am using a scroll menu in the navigation component of Impulse. I would like to have the item in the center of the page but it defaults right. I tried setting the item to center a few different ways and nothing is working. I added {
        display: inline-block;
        position: relative;
        text-align: center;
      but that didn't work...any help would be appreciated. Site is at http://vetpaw.org/new
    • yemoonyah
      By yemoonyah+
      I just installed and added the Flipper section to my home page and it makes my navigation/menu bar items disappear.
      They do show up again when scrolling down and everything seems normal on the other pages.
    • hungryitalian
      By hungryitalian
      What is the equivalent to DMS2's PostNav section in PL5?  I'm looking for PREVIOUS/NEXT buttons that show the associated post names for the previous and next posts.