Taxonomi Kategori File
digunakan di web pa-salatiga
// Register Custom Taxonomy function kategori_file() { $labels = array( 'name' => _x( 'Kategori File', 'Taxonomy General Name', 'pasalatiga' ), 'singular_name' => _x( 'Kategori File', 'Taxonomy Singular Name', 'pasalatiga' ), 'menu_name' => __( 'Kategori File', 'pasalatiga' ), 'all_items' => __( 'All Items', 'pasalatiga' ), 'parent_item' => __( 'Parent Item', 'pasalatiga' ), 'parent_item_colon' => __( 'Parent Item:', 'pasalatiga' ), 'new_item_name' => __( 'New Item Name', 'pasalatiga' ), 'add_new_item' => __( 'Add New Item', 'pasalatiga' ), 'edit_item' => __( 'Edit Item', 'pasalatiga' ), 'update_item' => __( 'Update Item', 'pasalatiga' ), 'view_item' => __( 'View Item', 'pasalatiga' ), 'separate_items_with_commas' => __( 'Separate items with commas', 'pasalatiga' ), 'add_or_remove_items' => __( 'Add or remove items', 'pasalatiga' ), 'choose_from_most_used' => __( 'Choose from the most used', 'pasalatiga' ), 'popular_items' => __( 'Popular Items', 'pasalatiga' ), 'search_items' => __( 'Search Items', 'pasalatiga' ), 'not_found' => __( 'Not Found', 'pasalatiga' ), 'no_terms' => __( 'No items', 'pasalatiga' ), 'items_list' => __( 'Items list', 'pasalatiga' ), 'items_list_navigation' => __( 'Items list navigation', 'pasalatiga' ), ); $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( 'file', array( 'download_file' ), $args ); } add_action( 'init', 'kategori_file', 0 );