Familles d’organismes plancton
Custom Taxo
if ( ! function_exists( 'custom_taxo_familles' ) ) { // Register Custom Taxonomy function custom_taxo_familles() { $labels = array( 'name' => _x( 'Familles', 'Taxonomy General Name', 'uncode' ), 'singular_name' => _x( 'Famille', 'Taxonomy Singular Name', 'uncode' ), 'menu_name' => __( 'Familles', 'uncode' ), 'all_items' => __( 'All Familles', 'uncode' ), 'parent_item' => __( 'Parent Item', 'uncode' ), 'parent_item_colon' => __( 'Parent Item:', 'uncode' ), 'new_item_name' => __( 'New Famille', 'uncode' ), 'add_new_item' => __( 'Add New Famille', 'uncode' ), 'edit_item' => __( 'Edit Famille', 'uncode' ), 'update_item' => __( 'Update Famille', 'uncode' ), 'view_item' => __( 'View Famille', 'uncode' ), 'separate_items_with_commas' => __( 'Separate items with commas', 'uncode' ), 'add_or_remove_items' => __( 'Add or remove items', 'uncode' ), 'choose_from_most_used' => __( 'Choose from the most used', 'uncode' ), 'popular_items' => __( 'Popular Items', 'uncode' ), 'search_items' => __( 'Search Items', 'uncode' ), 'not_found' => __( 'Not Found', 'uncode' ), 'no_terms' => __( 'No items', 'uncode' ), 'items_list' => __( 'Items list', 'uncode' ), 'items_list_navigation' => __( 'Items list navigation', 'uncode' ), ); $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( 'familles', array( 'organisme', ' episode' ), $args ); } add_action( 'init', 'custom_taxo_familles', 0 ); }