Services
// Register Custom Taxonomy
function services_taxonomy() {
$labels = array(
'name' => _x( 'Services', 'Taxonomy General Name', 'text_domain' ),
'singular_name' => _x( 'Service', 'Taxonomy Singular Name', 'text_domain' ),
'menu_name' => __( 'Services', 'text_domain' ),
'all_items' => __( 'Alle Services', 'text_domain' ),
'parent_item' => __( 'Bovenliggende Service', 'text_domain' ),
'parent_item_colon' => __( 'Bovenliggende Service:', 'text_domain' ),
'new_item_name' => __( 'Nieuwe Service naam', 'text_domain' ),
'add_new_item' => __( 'Voeg nieuwe toe', 'text_domain' ),
'edit_item' => __( 'Beheer Service', 'text_domain' ),
'update_item' => __( 'Update Service', 'text_domain' ),
'view_item' => __( 'Bekijk Service', 'text_domain' ),
'separate_items_with_commas' => __( 'Scheid Services met een komma', 'text_domain' ),
'add_or_remove_items' => __( 'Voeg toe of verwijder Services', 'text_domain' ),
'choose_from_most_used' => __( 'Kies uit de meest gebruikte Services', 'text_domain' ),
'popular_items' => __( 'Populaire Services', 'text_domain' ),
'search_items' => __( 'Zoek Service', 'text_domain' ),
'not_found' => __( 'Niet gevonden', 'text_domain' ),
'no_terms' => __( 'Geen Services', 'text_domain' ),
'items_list' => __( 'Services lijst', 'text_domain' ),
'items_list_navigation' => __( 'Services 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' => true,
'show_in_rest' => true,
);
register_taxonomy( 'services', array( 'portfolio' ), $args );
}
add_action( 'init', 'services_taxonomy', 0 );