Let’s say I have a menu item named “About” and that menu item is parent to 2 sub-menu items “Who we are”, “Our Mission”, for example. The parent item “About” does not lead anywhere but when on any of the child pages I wish to have a list of all the child pages of “About”, excluding current one on a sidebar. So, for example when I am on “Our Mission” page there would be a list with a link to “Who we are” page an vice-versa But this would be a dynamic process, not hard coded. Whenever sub-menu grows new child page links are automatically added to these sidebar lists. Haven’t found any WordPress function to help implementing this. Any help would be appreciated.
Read more here: Is it possible to display a list of related pages on a sidebar?