Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Taxonomia Secciones

Secciones de moda

if ( ! function_exists( 'areafd_seccion' ) ) {

// Register Custom Taxonomy
function areafd_seccion() {

	$labels = array(
		'name'                       => _x( 'Secciones', 'Taxonomy General Name', 'areafd_seccion' ),
		'singular_name'              => _x( 'Sección', 'Taxonomy Singular Name', 'areafd_seccion' ),
		'menu_name'                  => __( 'Sección moda', 'areafd_seccion' ),
		'all_items'                  => __( 'Todas las secciones', 'areafd_seccion' ),
		'parent_item'                => __( 'Parent Item', 'areafd_seccion' ),
		'parent_item_colon'          => __( 'Parent Item:', 'areafd_seccion' ),
		'new_item_name'              => __( 'Nueva sección', 'areafd_seccion' ),
		'add_new_item'               => __( 'Añadir sección', 'areafd_seccion' ),
		'edit_item'                  => __( 'Editar Sección', 'areafd_seccion' ),
		'update_item'                => __( 'Update Item', 'areafd_seccion' ),
		'view_item'                  => __( 'Ver Sección', 'areafd_seccion' ),
		'separate_items_with_commas' => __( 'Separate items with commas', 'areafd_seccion' ),
		'add_or_remove_items'        => __( 'Add or remove items', 'areafd_seccion' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'areafd_seccion' ),
		'popular_items'              => __( 'Popular Items', 'areafd_seccion' ),
		'search_items'               => __( 'Search Items', 'areafd_seccion' ),
		'not_found'                  => __( 'Not Found', 'areafd_seccion' ),
		'no_terms'                   => __( 'No items', 'areafd_seccion' ),
		'items_list'                 => __( 'Items list', 'areafd_seccion' ),
		'items_list_navigation'      => __( 'Items list navigation', 'areafd_seccion' ),
	);
	$rewrite = array(
		'slug'                       => 'seccion',
		'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( 'seccion', array( 'areafd_marcas' ), $args );

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

}