Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- register_taxonomy( "samplecat",
- array( 'event' ), // Change this to the postype
- array( "hierarchical" => true,
- "label" => "Categorieën",
- 'labels' => array( 'name' => __('Categorie'),
- 'singular_name' => __('Categorie'),
- 'search_items' => __('Categorieën zoeken'),
- 'popular_items' => __('Populaire categorieën'),
- 'all_items' => __('Alle categorieën'),
- 'parent_item' => __('Huidige categorie'),
- 'parent_item_colon' => __('Huidige categorie:'),
- 'edit_item' => __('Wijzig categorie'),
- 'update_item' => __('Wijzig categorie'),
- 'add_new_item' => __('Nieuwe categorie toevoegen'),
- 'new_item_name' => __('Nieuwe categorie')
- ),
- 'public' => true,
- 'show_ui' => true,
- 'with_front' => false,
- "rewrite" => true
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement