services_taxonomy
services_taxonomy
// Register Custom Taxonomy function services_taxonomy() { $labels = array( 'name' => _x( 'Các Dịch Vụ', 'Taxonomy General Name', 'quynhngaservices' ), 'singular_name' => _x( 'Dịch Vụ', 'Taxonomy Singular Name', 'quynhngaservices' ), 'menu_name' => __( 'Dịch Vụ', 'quynhngaservices' ), 'all_items' => __( 'Tất Cả Dịch Vụ', 'quynhngaservices' ), 'parent_item' => __( 'Dịch Vụ Gốc ', 'quynhngaservices' ), 'parent_item_colon' => __( 'Dịch Vụ Gốc: ', 'quynhngaservices' ), 'new_item_name' => __( 'Tên Dịch Vụ Mới', 'quynhngaservices' ), 'add_new_item' => __( 'Thêm Mời Dịch Vụ', 'quynhngaservices' ), 'edit_item' => __( 'Sửa Dịch Vụ', 'quynhngaservices' ), 'update_item' => __( 'Cập Nhập Dịch Vụ', 'quynhngaservices' ), 'view_item' => __( 'Xem Dịch Vụ', 'quynhngaservices' ), 'separate_items_with_commas' => __( 'Phân Cách Các Dịch Vụ Bằng Dầu Phẩy', 'quynhngaservices' ), 'add_or_remove_items' => __( 'Thêm hoặc Xóa Dịch Vụ', 'quynhngaservices' ), 'choose_from_most_used' => __( 'Chọn Từ Sử Dụng Gần Đây', 'quynhngaservices' ), 'popular_items' => __( 'Dịch Vụ Sử Dụng Nhiều', 'quynhngaservices' ), 'search_items' => __( 'Tìm Kiếm Dịch Vuj', 'quynhngaservices' ), 'not_found' => __( 'Không Thấy', 'quynhngaservices' ), 'no_terms' => __( 'Không Dịch Vụ', 'quynhngaservices' ), 'items_list' => __( 'Danh Sách Các Dịch Vụ', 'quynhngaservices' ), 'items_list_navigation' => __( 'Thây Điều Hướng Danh Sách Dịch Vụ', 'quynhngaservices' ), ); $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( 'services_taxonomy', array( 'post' ), $args ); } add_action( 'init', 'services_taxonomy', 0 );