I am using this code to show the custom menu subpages if you are on the parent page. But what this code also shows is a parent page on a page that has no sub menu, which I would like hidden. Basically ...
I would like to create a walker function, or modify somehow current wp_nav_menus so it can produce a custom output.
Let's imagine this structure:
menu item 1
menu item 2
submenu item a
submenu item ...
I was reading Wordpress documentation and also trying to find some clear example of how to do this but I couldn't, sorry if this is posted elsewhere but I did my best trying to find an answer before ...
I am wondering how to include a custom post type archive in wp_list_pages.
If there were a page ID, I could simply attach that page to the list using the 'include' argument. I know that there is a '...
Here is an example structure of some content:
-- Child A
-- Child B
-- Child C
-- Child D
Parent A should link to the content of Child A and Parent B should link to the content of ...
Has anyone worked on sites where the menu hierarchies is fairly large?
Not more than 3 levels deep, but more than 40+ menu items?
If you only list first level items in the top menu without dropdowns ...