Niveles Youtalk Plus
Taxonomía para post type youtalktvplus
// Register Custom Taxonomy function niveles() { $labels = array( 'name' => _x( 'Niveles', 'Taxonomy General Name', 'text_domain' ), 'singular_name' => _x( 'Nivel', 'Taxonomy Singular Name', 'text_domain' ), 'menu_name' => __( 'Niveles', 'text_domain' ), 'all_items' => __( 'Todos los Niveles', 'text_domain' ), 'parent_item' => __( 'Nivel padre', 'text_domain' ), 'parent_item_colon' => __( 'Padre:', 'text_domain' ), 'new_item_name' => __( 'Nuevo nivel', 'text_domain' ), 'add_new_item' => __( 'Añadir nuevo nivel', 'text_domain' ), 'edit_item' => __( 'Editar nivel', 'text_domain' ), 'update_item' => __( 'Actualizar nivel', 'text_domain' ), 'view_item' => __( 'Ver nivel', 'text_domain' ), 'separate_items_with_commas' => __( 'Separar niveles con comas', 'text_domain' ), 'add_or_remove_items' => __( 'Añadir o eliminar niveles', 'text_domain' ), 'choose_from_most_used' => __( 'Escojer entre los más usados', 'text_domain' ), 'popular_items' => __( 'Niveles populares', 'text_domain' ), 'search_items' => __( 'Buscar niveles', 'text_domain' ), 'not_found' => __( 'Sin resultados', 'text_domain' ), 'no_terms' => __( 'No hay niveles', 'text_domain' ), 'items_list' => __( 'Listado de niveles', 'text_domain' ), 'items_list_navigation' => __( 'Items list navigation', 'text_domain' ), ); $rewrite = array( 'slug' => 'nivel', '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( 'youtalktv_cat', array( 'youtalktv' ), $args ); } add_action( 'init', 'niveles', 0 );