VNA Organization
// Register Custom Taxonomy
function vna_grant_organizations() {
$labels = array(
'name' => _x( 'Organizations', 'Taxonomy General Name', 'vna' ),
'singular_name' => _x( 'Organization', 'Taxonomy Singular Name', 'vna' ),
'menu_name' => __( 'Orgnizations', 'vna' ),
'all_items' => __( 'All Organizations', 'vna' ),
'parent_item' => __( 'Parent Organization', 'vna' ),
'parent_item_colon' => __( 'Parent Organization:', 'vna' ),
'new_item_name' => __( 'New Organization', 'vna' ),
'add_new_item' => __( 'Add New Organization', 'vna' ),
'edit_item' => __( 'Edit Organization', 'vna' ),
'update_item' => __( 'Update Organization', 'vna' ),
'view_item' => __( 'View Organization', 'vna' ),
'separate_items_with_commas' => __( 'Separate organizations with commas', 'vna' ),
'add_or_remove_items' => __( 'Add or remove organizations', 'vna' ),
'choose_from_most_used' => __( 'Choose from the most used', 'vna' ),
'popular_items' => __( 'Popular Items', 'vna' ),
'search_items' => __( 'Search Items', 'vna' ),
'not_found' => __( 'Not Found', 'vna' ),
'no_terms' => __( 'No items', 'vna' ),
'items_list' => __( 'Items list', 'vna' ),
'items_list_navigation' => __( 'Items list navigation', 'vna' ),
);
$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( 'grant_organizations', array( 'grant' ), $args );
}
add_action( 'init', 'vna_grant_organizations', 0 );