As far as I can tell, the wp_nav_menu ‘menu’ argument only returns the correct menu if you give it your description from when it was registered, not the menu slug. Has anyone else experienced this, or is my implementation wrong?
Your implementation is correct. The first argument or in your case the array key is the location and the second is description. ‘menu’ associates with the description and ‘theme_location’ associates with the location.
Viewing 1 replies (of 1 total)
The topic ‘wp_nav_menu only works with menu=>description’ is closed to new replies.