Function register_nav_menu – Register Navigation Menu in functions.php

Function register_nav_menu – Register Navigation Menu in functions.php

functions.php Register Navigation Menu in your WordPress Custom Template


// Blank WordPress Template Register 3 Navigation Menus for Blank WordPress Template
// Register Top Menu
// Register Header Menu
// Register Footer Menu
function register_my_menu() {
register_nav_menu(‘top_menu’,__( ‘Top Header Information Menu’ ));
register_nav_menu(‘header_menu’,__( ‘Main Header Information Menu’ ));
register_nav_menu(‘footer_menu’,__( ‘Main Footer Information Menu’ ));
}
add_action( ‘init’, ‘register_my_menu’ );


blockquote