Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Tax Servicios

test

if ( ! function_exists( 'jk_servicios_taxonomy' ) ) {

// Register Custom Taxonomy
function jk_servicios_taxonomy() {

	$labels = array(
		'name'                       => _x( 'Servicios', 'Taxonomy General Name', 'jk' ),
		'singular_name'              => _x( 'Servicio', 'Taxonomy Singular Name', 'jk' ),
		'menu_name'                  => __( 'Servicios', 'jk' ),
		'all_items'                  => __( 'Ver todos', 'jk' ),
		'parent_item'                => __( 'Superior', 'jk' ),
		'parent_item_colon'          => __( 'Servicio superior', 'jk' ),
		'new_item_name'              => __( 'Nombre del nuevo servicio', 'jk' ),
		'add_new_item'               => __( 'Agregar nuevo servicio', 'jk' ),
		'edit_item'                  => __( 'Editar Servicio', 'jk' ),
		'update_item'                => __( 'Actualizar Servicio', 'jk' ),
		'view_item'                  => __( 'Ver Item', 'jk' ),
		'separate_items_with_commas' => __( 'Serparar servicios por coma', 'jk' ),
		'add_or_remove_items'        => __( 'Agregar o Eliminar Servicio', 'jk' ),
		'choose_from_most_used'      => __( 'Servicios mas Usados', 'jk' ),
		'popular_items'              => __( 'Item polulares', 'jk' ),
		'search_items'               => __( 'Buscar Servicios', 'jk' ),
		'not_found'                  => __( 'No Encontrado', 'jk' ),
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => true,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => false,
	);
	register_taxonomy( 'servicios', array( 'proyectos' ), $args );

}

// Hook into the 'init' action
add_action( 'init', 'jk_servicios_taxonomy', 0 );

}