// Register Navigation Menus function custom_navigation_menus() { $locations = array( 'primary' => __( 'Header Menu', 'text_domain' ), 'footer' => __( 'Footer Menu', 'text_domain' ), ); register_nav_menus( $locations ); } add_action( 'init', 'custom_navigation_menus' );