Tax Work Clients
if ( ! function_exists( 'metc_tax_work_client' ) ) {
// Register Custom Taxonomy
function metc_tax_work_client() {
$labels = array(
'name' => _x( 'Work Clients', 'Taxonomy General Name', 'showcase' ),
'singular_name' => _x( 'Work Client', 'Taxonomy Singular Name', 'showcase' ),
'menu_name' => __( 'Work Client', 'showcase' ),
'all_items' => __( 'All Work Clients', 'showcase' ),
'parent_item' => __( 'Parent Work Client', 'showcase' ),
'parent_item_colon' => __( 'Parent Work Client:', 'showcase' ),
'new_item_name' => __( 'New Work Client Name', 'showcase' ),
'add_new_item' => __( 'Add New Work Client', 'showcase' ),
'edit_item' => __( 'Edit Work Client', 'showcase' ),
'update_item' => __( 'Update Work Client', 'showcase' ),
'view_item' => __( 'View Work Client', 'showcase' ),
'separate_items_with_commas' => __( 'Separate work clients with commas', 'showcase' ),
'add_or_remove_items' => __( 'Add or remove work clients', 'showcase' ),
'choose_from_most_used' => __( 'Choose from the most used', 'showcase' ),
'popular_items' => __( 'Popular Work Clients', 'showcase' ),
'search_items' => __( 'Search Work Clients', 'showcase' ),
'not_found' => __( 'Not Found', 'showcase' ),
'no_terms' => __( 'No work clients', 'showcase' ),
'items_list' => __( 'Work Clients list', 'showcase' ),
'items_list_navigation' => __( 'Work Clients list navigation', 'showcase' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
);
register_taxonomy( 'work_client', array( 'work' ), $args );
}
add_action( 'init', 'metc_tax_work_client', 0 );
}