How do I add the option for more than 1 custom menu?
-
How do I add the option for more than 1 custom menu?
I am using a child of twentyten:the functions file says –
// This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'twentyten' ), ) );
When I tried to add this code from Justin Tadlock, i get an error.
add_action( 'init', 'register_my_menus' ); function register_my_menus() { register_nav_menus( array( 'primary-menu' => __( 'Primary Menu' ), 'secondary-menu' => __( 'Secondary Menu' ), 'tertiary-menu' => __( 'Tertiary Menu' ) ) ); }
Please be specific.. and thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I add the option for more than 1 custom menu?’ is closed to new replies.