Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Nav1

nav menu

// Register Navigation Menus
function nav_menus() {

	$locations = array(
		'Top' => __( 'main nav', 'evil_genius' ),
		'Footer' => __( 'footer nav', 'evil_genius' ),
	);
	register_nav_menus( $locations );

}

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