Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

created_by

// Register Custom Taxonomy
function createdby_taxonomy() {

	$labels = array(
		'name'                       => _x( 'Creators', 'Taxonomy General Name', 'ingressbiocardscreatedby' ),
		'singular_name'              => _x( 'Creator', 'Taxonomy Singular Name', 'ingressbiocardscreatedby' ),
		'menu_name'                  => __( 'Creator', 'ingressbiocardscreatedby' ),
		'all_items'                  => __( 'All Items', 'ingressbiocardscreatedby' ),
		'parent_item'                => __( 'Parent Item', 'ingressbiocardscreatedby' ),
		'parent_item_colon'          => __( 'Parent Item:', 'ingressbiocardscreatedby' ),
		'new_item_name'              => __( 'New Creator', 'ingressbiocardscreatedby' ),
		'add_new_item'               => __( 'Add New Creator', 'ingressbiocardscreatedby' ),
		'edit_item'                  => __( 'Edit Creator', 'ingressbiocardscreatedby' ),
		'update_item'                => __( 'Update Creator', 'ingressbiocardscreatedby' ),
		'view_item'                  => __( 'View Creator', 'ingressbiocardscreatedby' ),
		'separate_items_with_commas' => __( 'Separate items with commas', 'ingressbiocardscreatedby' ),
		'add_or_remove_items'        => __( 'Add or remove items', 'ingressbiocardscreatedby' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'ingressbiocardscreatedby' ),
		'popular_items'              => __( 'Popular Creators', 'ingressbiocardscreatedby' ),
		'search_items'               => __( 'Search Creators', 'ingressbiocardscreatedby' ),
		'not_found'                  => __( 'Not Found', 'ingressbiocardscreatedby' ),
		'no_terms'                   => __( 'No items', 'ingressbiocardscreatedby' ),
		'items_list'                 => __( 'Items list', 'ingressbiocardscreatedby' ),
		'items_list_navigation'      => __( 'Items list navigation', 'ingressbiocardscreatedby' ),
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => false,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => true,
	);
	register_taxonomy( 'creator', array( 'biocardsupdate', ' biocards' ), $args );

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