Taxonomy temas_liga
// Register Custom Taxonomy
function agg_temasliga_custom_taxonomy() {
$labels = array(
'name' => 'Temas de la liga',
'singular_name' => 'Tema de la liga',
'menu_name' => 'Temas liga',
'all_items' => 'Todos los temas',
'parent_item' => 'Parent Item',
'parent_item_colon' => 'Parent Item:',
'new_item_name' => 'Nuevo tema',
'add_new_item' => 'Añadir nuevo tema',
'edit_item' => 'Editar tema',
'update_item' => 'Actualizar tema',
'view_item' => 'Ver tema',
'separate_items_with_commas' => 'Separate items with commas',
'add_or_remove_items' => 'Añadir o eliminar temas',
'choose_from_most_used' => 'Choose from the most used',
'popular_items' => 'Popular Items',
'search_items' => 'Search Items',
'not_found' => 'Not Found',
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => false,
);
register_taxonomy( 'temas_liga', array( 'fotos_liga' ), $args );
}
add_action( 'init', 'agg_temasliga_custom_taxonomy', 0 );