Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

prueba secciones

// Register Custom Taxonomy
function seccion_grupo() {

	$labels = array(
		'name'                       => _x( 'Secciones-Grupos', 'Taxonomy General Name', 'text_domain' ),
		'singular_name'              => _x( 'Seccion-grupo', 'Taxonomy Singular Name', 'text_domain' ),
		'menu_name'                  => __( 'Seccion/Grupo', 'text_domain' ),
		'all_items'                  => __( 'Todas las secciones', 'text_domain' ),
		'parent_item'                => __( 'Sección padre', 'text_domain' ),
		'parent_item_colon'          => __( 'Parent Item:', 'text_domain' ),
		'new_item_name'              => __( 'Nombre nueva sección', 'text_domain' ),
		'add_new_item'               => __( 'Añadir nueva sección', 'text_domain' ),
		'edit_item'                  => __( 'Editar sección', 'text_domain' ),
		'update_item'                => __( 'Actualizar sección', 'text_domain' ),
		'view_item'                  => __( 'Ver sección', 'text_domain' ),
		'separate_items_with_commas' => __( 'Separa secciones con comas', 'text_domain' ),
		'add_or_remove_items'        => __( 'Añadir o borrar secciones', 'text_domain' ),
		'choose_from_most_used'      => __( 'Selecciona entre las más usadas', 'text_domain' ),
		'popular_items'              => __( 'Secciones populares', 'text_domain' ),
		'search_items'               => __( 'Buscar sección', 'text_domain' ),
		'not_found'                  => __( 'No encontrado', 'text_domain' ),
		'no_terms'                   => __( 'No secciones', 'text_domain' ),
		'items_list'                 => __( 'Listado de secciones', 'text_domain' ),
		'items_list_navigation'      => __( 'Items list navigation', 'text_domain' ),
	);
	$rewrite = array(
		'slug'                       => 'catalogo',
		'with_front'                 => true,
		'hierarchical'               => true,
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => true,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => true,
		'rewrite'                    => $rewrite,
	);
	register_taxonomy( 'Seccion/Grupo', array( 'catalogo' ), $args );

}
add_action( 'init', 'seccion_grupo', 0 );