Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

GEO Costos Taxonomía

if ( ! function_exists( 'tipologia_costos' ) ) {

// Register Custom Taxonomy
function tipologia_costos() {

	$labels = array(
		'name'                       => _x( 'Tipologías de costos', 'Taxonomy General Name', 'taxonomia_costos' ),
		'singular_name'              => _x( 'Tipología de costo', 'Taxonomy Singular Name', 'taxonomia_costos' ),
		'menu_name'                  => __( 'Tipologías de costos', 'taxonomia_costos' ),
		'all_items'                  => __( 'Todas', 'taxonomia_costos' ),
		'parent_item'                => __( 'Parent Item', 'taxonomia_costos' ),
		'parent_item_colon'          => __( 'Parent Item:', 'taxonomia_costos' ),
		'new_item_name'              => __( 'Nueva', 'taxonomia_costos' ),
		'add_new_item'               => __( 'Nueva', 'taxonomia_costos' ),
		'edit_item'                  => __( 'Editar', 'taxonomia_costos' ),
		'update_item'                => __( 'Actualizar', 'taxonomia_costos' ),
		'view_item'                  => __( 'Ver', 'taxonomia_costos' ),
		'separate_items_with_commas' => __( 'Separate items with commas', 'taxonomia_costos' ),
		'add_or_remove_items'        => __( 'Add or remove items', 'taxonomia_costos' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'taxonomia_costos' ),
		'popular_items'              => __( 'Popular Items', 'taxonomia_costos' ),
		'search_items'               => __( 'Search Items', 'taxonomia_costos' ),
		'not_found'                  => __( 'Not Found', 'taxonomia_costos' ),
		'no_terms'                   => __( 'No items', 'taxonomia_costos' ),
		'items_list'                 => __( 'Items list', 'taxonomia_costos' ),
		'items_list_navigation'      => __( 'Items list navigation', 'taxonomia_costos' ),
	);
	$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( 'costos', array( 'costos' ), $args );

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

}