Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

header-footer-menus

// Register Navigation Menus
function custom_navigation_menus() {

	$locations = array(
		'header_menu' => __( 'Custom Header Menu', 'text_domain' ),
		'footer_menu' => __( 'Custom Footer Menu', 'text_domain' ),
	);
	register_nav_menus( $locations );

}

// Hook into the 'init' action
add_action( 'init', 'custom_navigation_menus' );