_x( 'Toutes les Parcelles', 'post type general name', 'your-plugin-textdomain' ), 'singular_name' => _x( 'Parcelles', 'post type singular name', 'your-plugin-textdomain' ), 'menu_name' => _x( 'Parcelles', 'admin menu', 'your-plugin-textdomain' ), 'name_admin_bar' => _x( 'Parcelles', 'add new on admin bar', 'your-plugin-textdomain' ), 'add_new' => _x( 'Ajouter Parcelle', 'parcelle', 'your-plugin-textdomain' ), 'add_new_item' => __( 'Ajouter Parcelle', 'your-plugin-textdomain' ), 'new_item' => __( 'Nouvelle Parcelle', 'your-plugin-textdomain' ), 'edit_item' => __( 'Modifier Parcelle', 'your-plugin-textdomain' ), 'view_item' => __( 'Voir la Parcelle', 'your-plugin-textdomain' ), 'all_items' => __( 'Toutes les Parcelles', 'your-plugin-textdomain' ), 'search_items' => __( 'Rechercher Parcelle', 'your-plugin-textdomain' ), 'parent_item_colon' => __( 'Catégorie de Parcelle:', 'your-plugin-textdomain' ), 'not_found' => __( 'Aucune Parcelle.', 'your-plugin-textdomain' ), 'not_found_in_trash' => __( 'Parcelle introuvable dans la corbeille.', 'your-plugin-textdomain' ) ); $args = array( 'labels' => $labels, 'description' => __( 'Description.', 'your-plugin-textdomain' ), 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_menu' => true, 'query_var' => true, 'rewrite' => array( 'slug' => 'parcelle' ), 'capability_type' => 'post', 'has_archive' => true, 'taxonomies' => array( 'category' ), 'hierarchical' => false, 'menu_position' => 7, 'supports' => array( 'title', 'editor', 'thumbnail', 'author') ); register_post_type( 'parcelle', $args ); } ?>