Hi @chanceaob have you tried this?
wp_nav_menu( array( 'theme_location' => 'main_menu', 'level' => 3, 'child_of' => 'Submenu' ) );?
I have the same problem when I try to echo my menu’s 3rd level the plugin returns (randomly) just some of my menu items.
$menuParameterss = array( 'theme_location' => 'header', 'level' => 3, ); echo wp_nav_menu($menuParameterss);
Here are some screenshots of my menu and the items that I receive: https://mega.nz/folder/YBonFSDY#H6wr5n8xsQSPG8OPBkc3XQ
- This reply was modified 2 years, 3 months ago by vilmosheim. Reason: Added some screenshots link
Hey @vilmosheim – Have you tried
levelin conjunction with
I have tried it but my problem still exists. Let me show you an example:
//menu structure Fruits (level 1) |— Apple (level 2) |— Fuji (level 3) |— Jonagold (level 3) |— Rome (level 3) |— Orange (level 2) |— Blood Orange (level 3) |— Banana (level 2) |— Cavendish Banana (level 3) |— Red Banana (level 3) Vegetables (level 1)
And what I want is to be able to print level 3 (Fuji, Jonagold, Rome, Blood Orange, Cavendish Banana and Red Banana). And the problem is that it works for level 2 (Apple, Orange, Banana) but does not for level 3.
child_ofcould be an option, but with the help of with that, I cannot print both Apple’s subitems, Orange’s subitems and Banana’s subitems.
Do you have any idea how to solve it?
- This reply was modified 2 years, 3 months ago by vilmosheim.
- The topic ‘Show 3rd level submenus’ is closed to new replies.