My site is organised into three sections, like this:
Reiki Basics (page ID 499)
– page 1.1
– page 1.2
– page 1.3
Practice & Study (page ID 501)
– page 2.1
Courses (page ID 471)
– page 3.1
These all display in the primary menu at the top of the page. When you hover over ‘Reiki Basics’, you see an accordian come down with pages 1.1, 1.2 and 1.3.
I want to create a secondary menu, in the sidebar, that only shows sibling pages (and the parent page).
For example, when the user is browsing any page in the section 'Reiki Basics', including the 'Reiki basics' page itself, they would see links to all the pages in this section (1.1, 1.2, 1.3). They wouldn’t see pages from other sections. The same would work when they are browsing pages in section two.
I want this menu to be created automatically for all new pages. I would rather not install any new plugins, although I do already use 'widget logic', which might help.