Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] WordPress – Pages/Sub Pages Menu Question Re: [Solved] WordPress – Pages/Sub Pages Menu Question

#66395
elcid
Participant

Thanks for the advise, but that is the page I have been trying to use for a while now to help me. The List Sub Pages example does not give me anything like what I am looking for. On the home page I get no menu at all and if I manaully go to a static page I only get he children of that page.

Maybe my example of what I am trying to achieve was a little ambigious.

On my home page, I am looking to produce a list of main level pages, with no child pages displayed.

Code:
Static Page 1
Static Page 2
Static Page 3
Static Page 4
Static Page 5

When I select an option (say Static Page 2), I want to display all main level pages, with the child pages for the selected static page as follows:

Code:
Static Page 1
Static Page 2
Child Page 2.1
Child Page 2.2
Child Page 2.3
Static Page 3
Static Page 4
Static Page 5

And if I selected Child Page 2.1, the same menu would be displayed.

If I then select a different top level static page, for example option 4, the menu would change accordingly…

Code:
Static Page 1
Static Page 2
Static Page 3
Static Page 4
Child Page 4.1
Child Page 4.2
Static Page 5