Services taxonomy
// Register Custom Taxonomy
function custom_tax_services() {
$labels = array(
'name' => _x( 'Services', 'Taxonomy General Name', 'dca' ),
'singular_name' => _x( 'Service', 'Taxonomy Singular Name', 'dca' ),
'menu_name' => __( 'Services', 'dca' ),
'all_items' => __( 'All Services', 'dca' ),
'parent_item' => __( 'Parent Service', 'dca' ),
'parent_item_colon' => __( 'Parent Service:', 'dca' ),
'new_item_name' => __( 'New Service Name', 'dca' ),
'add_new_item' => __( 'Add New Service', 'dca' ),
'edit_item' => __( 'Edit Service', 'dca' ),
'update_item' => __( 'Update Service', 'dca' ),
'view_item' => __( 'View Service', 'dca' ),
'separate_items_with_commas' => __( 'Separate services with commas', 'dca' ),
'add_or_remove_items' => __( 'Add or remove services', 'dca' ),
'choose_from_most_used' => __( 'Choose from the most used', 'dca' ),
'popular_items' => __( 'Popular Services', 'dca' ),
'search_items' => __( 'Search Services', 'dca' ),
'not_found' => __( 'Not Found', 'dca' ),
'no_terms' => __( 'No services', 'dca' ),
'items_list' => __( 'Services list', 'dca' ),
'items_list_navigation' => __( 'Services list navigation', 'dca' ),
);
$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( 'services', array( 'work' ), $args );
}
add_action( 'init', 'custom_tax_services', 0 );