I try to solve an issue with navigation.
Previously, if I had for example a page with subpages, or category with subcategories, I could just use
wp_list_categories with some parameters to dynamically display sub pages/cats for every one of the pages/posts viewed.
I want to achieve the following dynamic situation:
There is a nav menu that should be displayed dynamically. I want to use the new
Each parent page has some children/sub pages to be displayed in the nav menu, and also a different category archive link that should be displayed in that same menu for every different parent page that viewed.
Obviously, there is no point to manually create each menu and menu for each parent page.
How could that be dynamically accomplished with the new