Quantcast
Viewing all articles
Browse latest Browse all 20145

Displaying sibling/brother pages

I have been trying to replicate your tutorial: http://wp-types.com/documentation/user-guides/displaying-brother-pages/

Excuse the question, I am sure the tutorial is extremely easy for the enlightened. I've been pulling my hair for 2 hours now.

I have pages as such:

- Parent Page
— Child Page 1
— Child Page N

I want to display the sibling pages (Titles with a Link) so when someone is on Child Page N they see the link to Child Page 1 and viceversa. I ALSO want to display the children links when people are on the Parent Page.

I followed the tutorial and currently have:

1. Template View called "Nav Parent" content:

[wpv-view name="Secondary Nav"]

2. Template View called "Nav Child" content:

[wpv-post-body id="$parent" view_template="Nav - Parent"]

3. View called "Secondary Nav"… and here my problems begin.

In your tutorial you just say "Create a View"… what fields should it have? Should it be empty? The screenshot has "related posts chid of none" (http://d7j863fr5jhrr.cloudfront.net/wp-content/uploads/2012/03/tutorial-steps-sidebar.png)… what's this for? I currently only show Unordered Lists with "Title with a Link" is this OK?

Then, what do I embed in my theme? The Parent Template? I tried and it falls on a loop. The child template? The VIEW itself? I even tried creating yet ANOTHER View.

I love VIEWS and it is very powerful but it is ridiculously complex so for things moderately complex like this, I just follow the stpes without really understanding the process. Yeah it's terrible but.. hey

So if you could please advise, I'd be very grateful


Viewing all articles
Browse latest Browse all 20145

Trending Articles