Well, thanks a lot, that is a step further, but it only shows the submenus – I also want to show the rest of the menu, you know like in that classic homepage-style showing all root-level elements and showing the submenus to the page you are at the moment. Like
-Parentpage 1
-Parentpage 2
-Parentpage 3
--Subpage 1
--Subpage 2
---SubSubpage 1
---SubSubpage 2 (active page)
--Subpage 3
-Parentpage 4
-Parentpage 5
-Parentpage 6
You know, that the other pages also have subpages, but just won’t show until you are on that page or on one of it’s children.
PS: Is there maybe a good plugin for this?
That shows all subpages of all the pages. I only want to see subpages of the page I’m viewing at the moment. Or, if I am on a subpage, I want to see all the subpages of the parent-page, while all the subpages of all other pages won’t show.