Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Custom Menus

// Register Navigation Menus
function my_custom_menus() {

	$locations = array(
		'primary_menu' => __( 'Primary Menu', 'my_super_theme' ),
		'footer_menu' => __( 'Footer Menu', 'my_super_theme' ),
		'optional_menu' => __( 'Optional Menu', 'my_super_theme' ),
	);
	register_nav_menus( $locations );

}

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