calculadora taxo
// Register Custom Taxonomy
function calculadora_taxonomy() {
$labels = array(
'name' => _x( 'Rangos etario', 'Taxonomy General Name', 'text_domain' ),
'singular_name' => _x( 'Rango etario', 'Taxonomy Singular Name', 'text_domain' ),
'menu_name' => __( 'Rango etario', 'text_domain' ),
'all_items' => __( 'Todos los rangos', 'text_domain' ),
'parent_item' => __( 'Rango padre', 'text_domain' ),
'parent_item_colon' => __( 'Rango padre:', 'text_domain' ),
'new_item_name' => __( 'Nuevo rango', 'text_domain' ),
'add_new_item' => __( 'Agregar rango', 'text_domain' ),
'edit_item' => __( 'Editar rango', 'text_domain' ),
'update_item' => __( 'Actualizar rango', 'text_domain' ),
'view_item' => __( 'Ver rango', 'text_domain' ),
'separate_items_with_commas' => __( 'separar por comas', 'text_domain' ),
'add_or_remove_items' => __( 'agregar o remover rangos', 'text_domain' ),
'choose_from_most_used' => __( 'Elegir rangos más usados', 'text_domain' ),
'popular_items' => __( 'Rangos populares', 'text_domain' ),
'search_items' => __( 'Buscar rangos', 'text_domain' ),
'not_found' => __( 'no se encontro rango', 'text_domain' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
);
register_taxonomy( 'rango_etario', array( 'tipo_empleo' ), $args );
}
add_action( 'init', 'calculadora_taxonomy', 0 );