WordPress wp_nav_menu skipping items OR not sorting items
-
I have a menu like this (called “Meny”):
Level1 ... - Level2 - ... - Level 3 - Level 3 .. and so on.
However doing this in sidebar-menu.php:
$options = array( 'container' => '', 'echo' => false, 'menu' => 'Meny', 'theme_location' => 'sidebar-menu', ); $nav = wp_nav_menu($options);
Outputs all level1 and level2 items but always only the first level3 child??? I’ve double checked and I do have several level3 items in “Meny”.. :S
If I remove ‘menu’ => ‘Meny’ it outputs all but then I loose the correct order!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘WordPress wp_nav_menu skipping items OR not sorting items’ is closed to new replies.