Speaker Category Taxonomy
Topics Categories for the Speakers
if ( ! function_exists( 'speaker_category' ) ) { // Register Custom Taxonomy function speaker_category() { $labels = array( 'name' => _x( 'Speaker Categories', 'Taxonomy General Name', 'speaker_category_domain' ), 'singular_name' => _x( 'Speaker Category', 'Taxonomy Singular Name', 'speaker_category_domain' ), 'menu_name' => __( 'Topic Category', 'speaker_category_domain' ), 'all_items' => __( 'All Speakers', 'speaker_category_domain' ), 'parent_item' => __( 'Parent Speaker Category', 'speaker_category_domain' ), 'parent_item_colon' => __( 'Parent Speaker Category:', 'speaker_category_domain' ), 'new_item_name' => __( 'New Speaker Category', 'speaker_category_domain' ), 'add_new_item' => __( 'Add New Speaker Category', 'speaker_category_domain' ), 'edit_item' => __( 'Edit Speaker Category', 'speaker_category_domain' ), 'update_item' => __( 'Update Speaker Category', 'speaker_category_domain' ), 'view_item' => __( 'View Speaker Category', 'speaker_category_domain' ), 'separate_items_with_commas' => __( 'Separate Speaker Categories with commas', 'speaker_category_domain' ), 'add_or_remove_items' => __( 'Add or remove Speaker Category', 'speaker_category_domain' ), 'choose_from_most_used' => __( 'Choose from the most used Speaker Category', 'speaker_category_domain' ), 'popular_items' => __( 'Popular Speaker Category', 'speaker_category_domain' ), 'search_items' => __( 'Search Speaker Category', 'speaker_category_domain' ), 'not_found' => __( 'No Speaker Category found', 'speaker_category_domain' ), 'no_terms' => __( 'No Speaker Category', 'speaker_category_domain' ), 'items_list' => __( 'Speaker Category List', 'speaker_category_domain' ), 'items_list_navigation' => __( 'Team Category Speaker Category', 'speaker_category_domain' ), ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_admin_column' => false, 'show_in_nav_menus' => false, 'show_tagcloud' => true, 'query_var' => '', ); register_taxonomy( 'speaker_category', array( 'wad_speaker' ), $args ); } add_action( 'init', 'speaker_category', 0 ); }