Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Taxonomia

if ( ! function_exists( 'rpm_servicio_taxonomy' ) ) {

// Register Custom Taxonomy
function rpm_servicio_taxonomy() {

	$labels = array(
		'name'                       => _x( 'Servicios', 'Taxonomy General Name', 'rpm' ),
		'singular_name'              => _x( 'Servicio', 'Taxonomy Singular Name', 'rpm' ),
		'menu_name'                  => __( 'Taxonomy', 'rpm' ),
		'all_items'                  => __( 'All Items', 'rpm' ),
		'parent_item'                => __( 'Parent Item', 'rpm' ),
		'parent_item_colon'          => __( 'Parent Item:', 'rpm' ),
		'new_item_name'              => __( 'New Item Name', 'rpm' ),
		'add_new_item'               => __( 'Add New Item', 'rpm' ),
		'edit_item'                  => __( 'Edit Item', 'rpm' ),
		'update_item'                => __( 'Update Item', 'rpm' ),
		'view_item'                  => __( 'View Item', 'rpm' ),
		'separate_items_with_commas' => __( 'Separate items with commas', 'rpm' ),
		'add_or_remove_items'        => __( 'Add or remove items', 'rpm' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'rpm' ),
		'popular_items'              => __( 'Popular Items', 'rpm' ),
		'search_items'               => __( 'Search Items', 'rpm' ),
		'not_found'                  => __( 'Not Found', 'rpm' ),
		'no_terms'                   => __( 'No items', 'rpm' ),
		'items_list'                 => __( 'Items list', 'rpm' ),
		'items_list_navigation'      => __( 'Items list navigation', 'rpm' ),
	);
	$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( 'projectos' ), $args );

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

}