Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

taxamonia_proyectos

if ( ! function_exists( 'fx_servicios_taxonomy' ) ) {

// Register Custom Taxonomy
function fx_servicios_taxonomy() {

	$labels = array(
		'name'                       => _x( 'Servicios', 'Taxonomy General Name', 'fx' ),
		'singular_name'              => _x( 'Servicio', 'Taxonomy Singular Name', 'fx' ),
		'menu_name'                  => __( 'Servicios', 'fx' ),
		'all_items'                  => __( 'Ver todos', 'fx' ),
		'parent_item'                => __( 'Superior', 'fx' ),
		'parent_item_colon'          => __( 'Servicio superior:', 'fx' ),
		'new_item_name'              => __( 'Nombre de la nueva servicio:', 'fx' ),
		'add_new_item'               => __( 'Agregar nueva servicio', 'fx' ),
		'edit_item'                  => __( 'Editar servicio', 'fx' ),
		'update_item'                => __( 'Actualizar servicio', 'fx' ),
		'view_item'                  => __( 'View Item', 'fx' ),
		'separate_items_with_commas' => __( 'Separar servicio con coma', 'fx' ),
		'add_or_remove_items'        => __( 'Agregar o eliminar servicios', 'fx' ),
		'choose_from_most_used'      => __( 'Escoje entre las servicios más usadas', 'fx' ),
		'popular_items'              => __( 'Popular Items', 'fx' ),
		'search_items'               => __( 'Buscar servicios', 'fx' ),
		'not_found'                  => __( 'No encontrado', 'fx' ),
	);
	$rewrite = array(
		'slug'                       => 'servicios-de-paginas-web',
		'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'              => false,
		'rewrite'                    => $rewrite,
	);
	register_taxonomy( 'servicios', array( 'proyectos' ), $args );

}

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

}