Support » Plugin: wp_nav_menu Extended! » Show 3rd level submenus
Show 3rd level submenus
-
I would like to be able to have a submenu show when using the ‘child_of’ parameter. If I have Menu > Submenu > Submenu, I need to be able to show the 3rd level of menu in a drop down. Is that possible?
-
Hi @chanceaob have you tried this?
wp_nav_menu( array( 'theme_location' => 'main_menu', 'level' => 3, 'child_of' => 'Submenu' ) );
?Hi,
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
level
in conjunction withchild_of
?Hey @junaidbhura
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_of
could 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.
Hi @vilmosheim apologies for the delayed response.
Ah I see what you’re saying. This is not possible using this plugin, you might want to take a look at creating a custom WP_Query for this.
-
This reply was modified 2 years, 3 months ago by
- The topic ‘Show 3rd level submenus’ is closed to new replies.