SFK trainer categorie
// Register Custom Taxonomy
function trainer_categorie() {
$labels = array(
'name' => _x( 'categorieën', 'Taxonomy General Name', 'SFK' ),
'singular_name' => _x( 'categorie', 'Taxonomy Singular Name', 'SFK' ),
'menu_name' => __( 'Categorie', 'SFK' ),
'all_items' => __( 'All Items', 'SFK' ),
'parent_item' => __( 'Parent Item', 'SFK' ),
'parent_item_colon' => __( 'Parent Item:', 'SFK' ),
'new_item_name' => __( 'New Item Name', 'SFK' ),
'add_new_item' => __( 'Add New Item', 'SFK' ),
'edit_item' => __( 'Edit Item', 'SFK' ),
'update_item' => __( 'Update Item', 'SFK' ),
'view_item' => __( 'View Item', 'SFK' ),
'separate_items_with_commas' => __( 'Separate items with commas', 'SFK' ),
'add_or_remove_items' => __( 'Add or remove items', 'SFK' ),
'choose_from_most_used' => __( 'Choose from the most used', 'SFK' ),
'popular_items' => __( 'Popular Items', 'SFK' ),
'search_items' => __( 'Search Items', 'SFK' ),
'not_found' => __( 'Not Found', 'SFK' ),
'no_terms' => __( 'No items', 'SFK' ),
'items_list' => __( 'Items list', 'SFK' ),
'items_list_navigation' => __( 'Items list navigation', 'SFK' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
);
register_taxonomy( 'trainer_categorie', array( 'trainers' ), $args );
}
add_action( 'init', 'trainer_categorie', 0 );