Thema’s 50vitaalplus.nl
// Register Custom Taxonomy
function taxonomy_thema() {
$labels = array(
'name' => _x( 'Thema`s', 'Taxonomy General Name', 'text_domain' ),
'singular_name' => _x( 'Thema', 'Taxonomy Singular Name', 'text_domain' ),
'menu_name' => __( 'Thema`s', 'text_domain' ),
'all_items' => __( 'Alle thema`s', 'text_domain' ),
'parent_item' => __( 'Hoofd thema', 'text_domain' ),
'parent_item_colon' => __( 'Hoofd thema:', 'text_domain' ),
'new_item_name' => __( 'Nieuw thema', 'text_domain' ),
'add_new_item' => __( 'Voeg nieuw thema toe', 'text_domain' ),
'edit_item' => __( 'Bewerk thema', 'text_domain' ),
'update_item' => __( 'Thema bijwerken', 'text_domain' ),
'view_item' => __( 'Bekijk thema', 'text_domain' ),
'separate_items_with_commas' => __( 'Scheidt thema`s met een komma', 'text_domain' ),
'add_or_remove_items' => __( 'Beheer thema`s', 'text_domain' ),
'choose_from_most_used' => __( 'Kies uit de meest gebruikte', 'text_domain' ),
'popular_items' => __( 'Populaire thema`s', 'text_domain' ),
'search_items' => __( 'Zoek thema`s', 'text_domain' ),
'not_found' => __( 'Niet gevonden', 'text_domain' ),
'no_terms' => __( 'Geen thema`s', 'text_domain' ),
'items_list' => __( 'Thema lijst', 'text_domain' ),
'items_list_navigation' => __( 'Thema lijst navigatie', 'text_domain' ),
);
$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( 'thema', array( 'post' ), $args );
}
add_action( 'init', 'taxonomy_thema', 0 );