tax-diensten-categories
if ( ! function_exists( 'tax_dossier_cats' ) ) {
// Register Custom Taxonomy
function tax_dossier_cats() {
$labels = array(
'name' => _x( 'Dossier Categorieën', 'Taxonomy General Name', 'ss_vv' ),
'singular_name' => _x( 'Dossier Categorie', 'Taxonomy Singular Name', 'ss_vv' ),
'menu_name' => __( 'Categoriën', 'ss_vv' ),
'all_items' => __( 'Alle categoriën', 'ss_vv' ),
'parent_item' => __( 'Hoofd categorie', 'ss_vv' ),
'parent_item_colon' => __( 'Hoofd item:', 'ss_vv' ),
'new_item_name' => __( 'Nieuwe categorie', 'ss_vv' ),
'add_new_item' => __( 'Voeg toe', 'ss_vv' ),
'edit_item' => __( 'Bewerk categorie', 'ss_vv' ),
'update_item' => __( 'Categorie bijwerken', 'ss_vv' ),
'view_item' => __( 'Bekijk categorie', 'ss_vv' ),
'separate_items_with_commas' => __( 'Separate items with commas', 'ss_vv' ),
'add_or_remove_items' => __( 'Toevoegen of verwijderen van categoriën', 'ss_vv' ),
'choose_from_most_used' => __( 'Kies uit de meest gebruikte', 'ss_vv' ),
'popular_items' => __( 'Populare categoriën', 'ss_vv' ),
'search_items' => __( 'Zoek categoriën', 'ss_vv' ),
'not_found' => __( 'Niet gevonden', 'ss_vv' ),
'no_terms' => __( 'Geen categoriën', 'ss_vv' ),
'items_list' => __( 'Categorie lijst', 'ss_vv' ),
'items_list_navigation' => __( 'Categorie lijst navigatie', 'ss_vv' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
'rewrite' => false,
);
register_taxonomy( 'dossiers-categories', array( 'dossier' ), $args );
}
add_action( 'init', 'tax_dossier_cats', 0 );
}