How to show only parents subpages of current page item in vertical menu?
-
30-10-2019 - |
Question
I just can't find a way to make it possible to show only current parent items down to current page item in a vertical menu the "wordpress way".
What I want to achieve is the following dynamic structure, if I visit Page 3.2.2.2:
Page 1 Page 2 Page 3 Page 4
- Page 3.1
- Page 3.2
- Page 3.2.1
- Page 3.2.2
- Page 3.2.2.1
- Page 3.2.2.2
- Page 3.2.2.2.1
- Page 3.2.2.2.2
- Page 3.2.2.3
- Page 3.2.3
- Page 3.3
- Page 3.4
- Page 3.5
So, only submenus for Page 3.2.2.2's parents and it's own (if it has a submenu) will be listed, even if Page 3.4 or Page 3.2.3 also has submenus.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange