Labels
// Register Custom Taxonomy
function PositionLabels() {
$labels = array(
'name' => 'Labels',
'singular_name' => 'Label',
'menu_name' => 'Labels',
'all_items' => 'All labels',
'parent_item' => 'Parent Item',
'parent_item_colon' => 'Parent Item:',
'new_item_name' => 'New label',
'add_new_item' => 'Add New label',
'edit_item' => 'Edit label',
'update_item' => 'Update label',
'view_item' => 'View label',
'separate_items_with_commas' => 'Separate labels with commas',
'add_or_remove_items' => 'Add or remove labels',
'choose_from_most_used' => 'Choose from the most used',
'popular_items' => 'Popular labels',
'search_items' => 'Search label',
'not_found' => 'Not Found',
'no_terms' => 'No labels',
'items_list' => 'Labels list',
'items_list_navigation' => 'Labels navigation',
);
$rewrite = array(
'slug' => 'label',
'with_front' => true,
'hierarchical' => false,
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
'rewrite' => $rewrite,
);
register_taxonomy( 'labels', array( 'open_position' ), $args );
}
add_action( 'init', 'PositionLabels', 0 );