Soopstuvac
// Register Custom Taxonomy
function custom_taxonomy_soopstuvac() {
$labels = array(
'name' => _x( 'Soopstuvaci', 'Taxonomy General Name', 'ohridnews' ),
'singular_name' => _x( 'Soopstuvac', 'Taxonomy Singular Name', 'ohridnews' ),
'menu_name' => __( 'Soopstuvaci', 'ohridnews' ),
'all_items' => __( 'Site', 'ohridnews' ),
'parent_item' => __( 'Parent Item', 'ohridnews' ),
'parent_item_colon' => __( 'Parent Item:', 'ohridnews' ),
'new_item_name' => __( 'Dodaj soopstuvac', 'ohridnews' ),
'add_new_item' => __( 'Add New', 'ohridnews' ),
'edit_item' => __( 'Edit', 'ohridnews' ),
'update_item' => __( 'Update', 'ohridnews' ),
'view_item' => __( 'View', 'ohridnews' ),
'separate_items_with_commas' => __( 'Podeleni so zapirka', 'ohridnews' ),
'add_or_remove_items' => __( 'Dodaj ili izbrisi', 'ohridnews' ),
'choose_from_most_used' => __( 'Choose from the most used', 'ohridnews' ),
'popular_items' => __( 'Popular', 'ohridnews' ),
'search_items' => __( 'Search', 'ohridnews' ),
'not_found' => __( 'Not Found', 'ohridnews' ),
'no_terms' => __( 'Nema', 'ohridnews' ),
'items_list' => __( 'Items list', 'ohridnews' ),
'items_list_navigation' => __( 'Items list navigation', 'ohridnews' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
);
register_taxonomy( 'taxonomy_soopstuvac', array( 'soopstenie' ), $args );
}
add_action( 'init', 'custom_taxonomy_soopstuvac', 0 );