WP_NAV_MENU Does not work WP 6.0
-
I will skip the part of strong language of you forcing aautomatic major update to WP 6.0 but lets get into it:
after the update my menus stopped to work – only “Add item” instead of whole menu is shown.
Just because of the update nothing else was done (automatically without my attention obviously).I am using in my own theme a “wp_nav_menu” called for a menu name.
`wp_nav_menu( array(
‘menu’ => ‘Menu’,
‘depth’ => 5,
‘container’ => ‘ul’,
‘container_class’ => ”,
‘menu_class’ => ‘navbar-nav ml-auto my-2 my-lg-0 ‘,
‘fallback_cb’ => ‘wp_bootstrap_navwalker::fallback’,
‘walker’ => new wp_bootstrap_navwalker()
));calling menu by name or by theme location completely stopped to work.
– menu calling by name does not work, no entries
– calling menu by theme_location no entries
– if I delete all atributes then it returns all possible menu items ignoring created menus
– fallback and walker itself when enabled then returns no entryFIXED by :
– force downgrade to 5.9.3
This itself does not fix this, I needed to switch to another theme 2020 and then back to my and it was back againPlease fix this ASAP
The page I need help with: [log in to see the link]
- The topic ‘WP_NAV_MENU Does not work WP 6.0’ is closed to new replies.