Multiple custom menus – WP 3.0
-
I am sure this topic is somewhere in this forum, however, I am unable to locate. I simply would like to add multiple menus, but am having difficulty with the syntax. I attempted to use the following – which failed.
if ( function_exists( 'wp_nav_menu' ) ){ if (function_exists('add_theme_support')) { add_theme_support('nav-menus'); add_action( 'init', 'register_my_menus' ); function register_my_menus() { register_nav_menus( array( 'main-menu' => __( 'Main Menu' ) 'utility-menu' => __( 'Utility navigation' ) ) ); } } }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Multiple custom menus – WP 3.0’ is closed to new replies.