wp_nav_menu
wp_nav_menu( array(
'menu' => 'TEST',
'menu_class' => "",
'menu_id' => "",
'container' => false
) );
wp_nav_menu
wp_nav_menu( array(
'menu' => 'TEST',
'menu_class' => "",
'menu_id' => "",
'container' => false
) );
display nav menu in frontend using Wordpress
<?php wp_nav_menu( array( 'theme_location' => 'header', ) );?>
wp main menu
wp_nav_menu( array( 'theme_location' => 'header', 'menu' => 'Main Menu') );
How to Add Custom Navigation Menus in WordPress Themes
function wpb_custom_new_menu() {
register_nav_menu('my-custom-menu',__( 'My Custom Menu' ));
}
add_action( 'init', 'wpb_custom_new_menu' );
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us