Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

menu

aa

if ( ! function_exists( 'custom_navigation_menus' ) ) {

// Register Navigation Menus
function custom_navigation_menus() {

	$locations = array(
		'Home' => __( '', 'text_domain' ),
		'About' => __( '', 'text_domain' ),
		'Service' => __( '', 'text_domain' ),
		'Contact' => __( '', 'text_domain' ),
		'profile' => __( '', 'text_domain' ),
	);
	register_nav_menus( $locations );

}

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

}