Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Categorias_Proveedores AT

CTP proveedores AT

if ( ! function_exists( 'Categoria_Proveedores' ) ) {

// Register Custom Taxonomy
function Categoria_Proveedores() {

	$labels = array(
		'name'                       => _x( 'Categoria_Proveedores', 'Taxonomy General Name', 'AT Proveedores' ),
		'singular_name'              => _x( 'Categoria_Proveedore', 'Taxonomy Singular Name', 'AT Proveedores' ),
		'menu_name'                  => __( 'Categoria de Proveedores', 'AT Proveedores' ),
		'all_items'                  => __( 'Todas las Proveedores', 'AT Proveedores' ),
		'parent_item'                => __( 'Proveedores Padre', 'AT Proveedores' ),
		'parent_item_colon'          => __( 'Proveedores Padre:', 'AT Proveedores' ),
		'new_item_name'              => __( 'Nueva categoria de Proveedores', 'AT Proveedores' ),
		'add_new_item'               => __( 'Anadir categoria de Proveedores', 'AT Proveedores' ),
		'edit_item'                  => __( 'Editar categoria de Proveedores', 'AT Proveedores' ),
		'update_item'                => __( 'Actualizar categoria de Proveedores', 'AT Proveedores' ),
		'view_item'                  => __( 'Ver categoria de Proveedores', 'AT Proveedores' ),
		'separate_items_with_commas' => __( 'Separate categoria de Proveedores con comas', 'AT Proveedores' ),
		'add_or_remove_items'        => __( 'Add or remove categoria de Proveedores', 'AT Proveedores' ),
		'choose_from_most_used'      => __( 'seleccionar mas usadas', 'AT Proveedores' ),
		'popular_items'              => __( 'Populares', 'AT Proveedores' ),
		'search_items'               => __( 'Buscar categoria de Proveedores', 'AT Proveedores' ),
		'not_found'                  => __( 'categoria de Proveedores no encontrada', 'AT Proveedores' ),
		'no_terms'                   => __( 'sin categoria de Proveedores', 'AT Proveedores' ),
		'items_list'                 => __( 'listado categoria de Proveedores', 'AT Proveedores' ),
		'items_list_navigation'      => __( 'listado navegacion categoria de Proveedores', 'AT Proveedores' ),
	);
	$rewrite = array(
		'slug'                       => 'Categorias_Proveedores',
		'with_front'                 => true,
		'hierarchical'               => false,
	);
	$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( 'Categoria_Proveedores', array( 'Proveedores' ), $args );

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

}