secondry menus
-
Hi I am having trouble with secondry Nav menus. there is already the main nav bar menu working within my header and I want a secondry menu only on specific pages (templates) which I can style how I want. I have followed the instructions and created a second menu within apperance>menus on WP, but when looked in to the functions.php where I want to create the secondry path I couldn’t find the right code. the only code related to the menus I found is this:
/////////////////////////////////////////////////////////////////////
//Add Custom Header to theme menu
add_action( ‘admin_menu’, ‘it_custom_header_add_menu’, 20 );
function it_custom_header_add_menu()
{
add_submenu_page( $GLOBALS[‘wp_theme_page_name’], __(‘Custom Header’), __(‘Custom Header’), ‘edit_themes’, ‘custom-header’, array( &$GLOBALS[‘custom_image_header’], ‘admin_page’ ) );
}/////////////////////////////////////////////////////////////////////
if anyone can help or knows what to add to this so I can call up the second menu.
Thanks
Ferg
- The topic ‘secondry menus’ is closed to new replies.