Tax sección
Taxonomía sección
// Register Custom Taxonomy function crete_section_tax() { $labels = array( 'name' => _x( 'Secciones', 'Taxonomy General Name', 'jbb' ), 'singular_name' => _x( 'Sección', 'Taxonomy Singular Name', 'jbb' ), 'menu_name' => __( 'Sección', 'jbb' ), 'all_items' => __( 'Todas las secciones', 'jbb' ), 'parent_item' => __( 'Parent Item', 'jbb' ), 'parent_item_colon' => __( 'Parent Item:', 'jbb' ), 'new_item_name' => __( 'Nueva sección', 'jbb' ), 'add_new_item' => __( 'Añadir nueva sección', 'jbb' ), 'edit_item' => __( 'Editar sección', 'jbb' ), 'update_item' => __( 'Actualizar sección', 'jbb' ), 'view_item' => __( 'Ver sección', 'jbb' ), 'separate_items_with_commas' => __( 'Separate items with commas', 'jbb' ), 'add_or_remove_items' => __( 'Add or remove items', 'jbb' ), 'choose_from_most_used' => __( 'Choose from the most used', 'jbb' ), 'popular_items' => __( 'Popular Items', 'jbb' ), 'search_items' => __( 'Search Items', 'jbb' ), 'not_found' => __( 'Not Found', 'jbb' ), 'no_terms' => __( 'No items', 'jbb' ), 'items_list' => __( 'Items list', 'jbb' ), 'items_list_navigation' => __( 'Items list navigation', 'jbb' ), ); $args = array( 'labels' => $labels, 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => true, ); register_taxonomy( 'section', array( 'post' ), $args ); } add_action( 'init', 'crete_section_tax', 0 );