libros
Nos permite añadir reseñas de libros
if ( ! function_exists('waltereviot_libros') ) { // Register Custom Post Type function waltereviot_libros() { $labels = array( 'name' => _x( 'Libros', 'Post Type General Name', 'waltereviot_libros' ), 'singular_name' => _x( 'Libro', 'Post Type Singular Name', 'waltereviot_libros' ), 'menu_name' => __( 'Libros de Walter Eviot', 'waltereviot_libros' ), 'name_admin_bar' => __( 'Libros WE', 'waltereviot_libros' ), 'archives' => __( 'Archivo de libros', 'waltereviot_libros' ), 'attributes' => __( 'Atributos', 'waltereviot_libros' ), 'parent_item_colon' => __( 'Parent Item:', 'waltereviot_libros' ), 'all_items' => __( 'Todos los libros', 'waltereviot_libros' ), 'add_new_item' => __( 'Añadir nuevo libro', 'waltereviot_libros' ), 'add_new' => __( 'Añadir nuevo', 'waltereviot_libros' ), 'new_item' => __( 'New Item', 'waltereviot_libros' ), 'edit_item' => __( 'Edit Item', 'waltereviot_libros' ), 'update_item' => __( 'Update Item', 'waltereviot_libros' ), 'view_item' => __( 'View Item', 'waltereviot_libros' ), 'view_items' => __( 'View Items', 'waltereviot_libros' ), 'search_items' => __( 'Search Item', 'waltereviot_libros' ), 'not_found' => __( 'Not found', 'waltereviot_libros' ), 'not_found_in_trash' => __( 'Not found in Trash', 'waltereviot_libros' ), 'featured_image' => __( 'Featured Image', 'waltereviot_libros' ), 'set_featured_image' => __( 'Set featured image', 'waltereviot_libros' ), 'remove_featured_image' => __( 'Remove featured image', 'waltereviot_libros' ), 'use_featured_image' => __( 'Use as featured image', 'waltereviot_libros' ), 'insert_into_item' => __( 'Insert into item', 'waltereviot_libros' ), 'uploaded_to_this_item' => __( 'Uploaded to this item', 'waltereviot_libros' ), 'items_list' => __( 'Items list', 'waltereviot_libros' ), 'items_list_navigation' => __( 'Items list navigation', 'waltereviot_libros' ), 'filter_items_list' => __( 'Filter items list', 'waltereviot_libros' ), ); $args = array( 'label' => __( 'Libro', 'waltereviot_libros' ), 'description' => __( 'CPT de libros', 'waltereviot_libros' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail' ), 'taxonomies' => array( 'category', '' ), 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-book', '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( 'WEt_Libros', $args ); } add_action( 'init', 'waltereviot_libros', 0 ); }