Clients taxonomy
Clients taxonomy
// Register Custom Taxonomy function bestel_clients_archive() { $labels = array( 'name' => _x( 'Client Categories', 'Taxonomy General Name', 'bestel' ), 'singular_name' => _x( 'Client Category', 'Taxonomy Singular Name', 'bestel' ), 'menu_name' => __( 'Client Categories', 'bestel' ), 'all_items' => __( 'All Client Categories', 'bestel' ), 'parent_item' => __( 'Parent Client Category', 'bestel' ), 'parent_item_colon' => __( 'Parent Client Category:', 'bestel' ), 'new_item_name' => __( 'New Client Name', 'bestel' ), 'add_new_item' => __( 'Add New Client Category', 'bestel' ), 'edit_item' => __( 'Edit Client Category', 'bestel' ), 'update_item' => __( 'Update Client Category', 'bestel' ), 'separate_items_with_commas' => __( 'Separate Client Categories with commas', 'bestel' ), 'search_items' => __( 'Search Client Categories', 'bestel' ), 'add_or_remove_items' => __( 'Add or remove Client Categories', 'bestel' ), 'choose_from_most_used' => __( 'Choose from the most used Client Categories', 'bestel' ), 'not_found' => __( 'Not Found', 'bestel' ), ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => false, ); register_taxonomy( 'clients_archive', array( 'bes_clients' ), $args ); } // Hook into the 'init' action add_action( 'init', 'bestel_clients_archive', 0 );