Skip to main content
added 708 characters in body
Source Link
Nicolai Grossherr
  • 18.9k
  • 8
  • 64
  • 109

You have menu two times as parameter, you probably want:

wp_nav_menu( array('theme_location' => 'main', 'menu' => 'menu_center' ));



*Edit:*

From your comments I'm getting that you're missing some information about the whole topic, e.g. the difference between the description and the name of a menu. To resolve this you really should just read the according documentation thoroughly:

You have menu two times as parameter, you probably want:

wp_nav_menu( array('theme_location' => 'main', 'menu' => 'menu_center' ));

You have menu two times as parameter, you probably want:

wp_nav_menu( array('theme_location' => 'main', 'menu' => 'menu_center' ));



*Edit:*

From your comments I'm getting that you're missing some information about the whole topic, e.g. the difference between the description and the name of a menu. To resolve this you really should just read the according documentation thoroughly:

Source Link
Nicolai Grossherr
  • 18.9k
  • 8
  • 64
  • 109

You have menu two times as parameter, you probably want:

wp_nav_menu( array('theme_location' => 'main', 'menu' => 'menu_center' ));