Copertina
Sto bene
// Register Custom Post Type function copertine() { $labels = array( 'name' => _x( 'Copertine', 'Post Type General Name', 'stobene' ), 'singular_name' => _x( 'Copertina', 'Post Type Singular Name', 'stobene' ), 'menu_name' => __( 'Copertina', 'stobene' ), 'name_admin_bar' => __( 'Copertina', 'stobene' ), 'archives' => __( 'Archivio', 'stobene' ), 'attributes' => __( 'Attributi copertine', 'stobene' ), 'parent_item_colon' => __( 'Copertine correlate', 'stobene' ), 'all_items' => __( 'Tutte le copertine', 'stobene' ), 'add_new_item' => __( 'Aggiungi nuova copertina', 'stobene' ), 'add_new' => __( 'Aggiungi nuova', 'stobene' ), 'new_item' => __( 'Nuova copertina', 'stobene' ), 'edit_item' => __( 'Modifica copertina', 'stobene' ), 'update_item' => __( 'Aggiorna copertina', 'stobene' ), 'view_item' => __( 'Vedi copertina', 'stobene' ), 'view_items' => __( 'Vedi copertine', 'stobene' ), 'search_items' => __( 'Cerca copertina', 'stobene' ), 'not_found' => __( 'Copertina non trovata', 'stobene' ), 'not_found_in_trash' => __( 'Copertina non trovata nel cestino', 'stobene' ), 'featured_image' => __( 'Immagine in evidenza', 'stobene' ), 'set_featured_image' => __( 'Imposta Immagine in evidenza', 'stobene' ), 'remove_featured_image' => __( 'Rimuovi Immagine in evidenza', 'stobene' ), 'use_featured_image' => __( 'Usa come Immagine in evidenza', 'stobene' ), 'insert_into_item' => __( 'Inserisci nella copertina', 'stobene' ), 'uploaded_to_this_item' => __( 'Aggiorna questa copertina', 'stobene' ), 'items_list' => __( 'Lista copertine', 'stobene' ), 'items_list_navigation' => __( '', 'stobene' ), 'filter_items_list' => __( 'Filter items list', 'stobene' ), ); $args = array( 'label' => __( 'Copertina', 'stobene' ), 'description' => __( 'Copertine STOBENE', 'stobene' ), 'labels' => $labels, 'supports' => array( 'title', 'editor' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'copertina', $args ); } add_action( 'init', 'copertine', 0 );