Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Taxonomy – Tags – Disability

if ( ! function_exists( 'jsa_disability_tags' ) ) {

// Register Custom Taxonomy
function jsa_disability_tags() {

	$labels = array(
		'name'                       => 'Tags Disability',
		'singular_name'              => 'Tag Disability',
		'menu_name'                  => 'Disability Tags',
		'all_items'                  => 'All Disability Tags',
		'parent_item'                => 'Parent Item',
		'parent_item_colon'          => 'Parent Item:',
		'new_item_name'              => 'New Tag',
		'add_new_item'               => 'Add New Tag',
		'edit_item'                  => 'Edit Tag',
		'update_item'                => 'Update Tag',
		'separate_items_with_commas' => 'Separate items with commas',
		'search_items'               => 'Search Disability Tags',
		'add_or_remove_items'        => 'Add or remove Tags',
		'choose_from_most_used'      => 'Choose from the most used items',
		'not_found'                  => 'Not Found',
	);
	$rewrite = array(
		'slug'                       => 'tag-disability',
		'with_front'                 => true,
		'hierarchical'               => false,
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => false,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => true,
		'query_var'                  => 'tag_disability',
		'rewrite'                    => $rewrite,
	);
	register_taxonomy( 'ctax_disability_tag', 'custom_post_type', $args );

}

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

}