Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Easy Client Market

// Register Custom Taxonomy
function client_market() {

	$labels = array(
		'name'                       => 'Client Markets',
		'singular_name'              => 'Client Market',
		'menu_name'                  => 'Client Market',
		'all_items'                  => 'All Client Markets',
		'parent_item'                => 'Parent Client Market',
		'parent_item_colon'          => 'Parent Client Market:',
		'new_item_name'              => 'New Client Market',
		'add_new_item'               => 'Add New Client Market',
		'edit_item'                  => 'Edit Client Market',
		'update_item'                => 'Update Client Market',
		'view_item'                  => 'View Client Market',
		'separate_items_with_commas' => 'Separate Client Market with commas',
		'add_or_remove_items'        => 'Add or remove Client Markets',
		'choose_from_most_used'      => 'Choose from the most used',
		'popular_items'              => 'Popular Client Markets',
		'search_items'               => 'Search Client Markets',
		'not_found'                  => 'Not Found',
		'no_terms'                   => 'No Client Markets',
		'items_list'                 => 'Client Markets list',
		'items_list_navigation'      => 'Client Markets list navigation',
	);
	$rewrite = array(
		'slug'                       => 'market',
		'with_front'                 => true,
		'hierarchical'               => false,
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => true,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => true,
		'rewrite'                    => $rewrite,
	);
	register_taxonomy( 'Client Market', array( 'easy_clients' ), $args );

}
add_action( 'init', 'client_market', 0 );