vino
vinos vina de frannes
// Register Custom Post Type
function vino_post_type() {
$labels = array(
'name' => 'Vinos',
'singular_name' => 'Vino',
'menu_name' => 'Vino',
'name_admin_bar' => 'Vino',
'parent_item_colon' => 'Parent Item:',
'all_items' => 'All Items',
'add_new_item' => 'Agregar nuevo vino',
'add_new' => 'Nuevo Vino',
'new_item' => 'Nuevo VIno',
'edit_item' => 'Editar VIno',
'update_item' => 'Actualizar vino',
'view_item' => 'Ver Vino',
'search_items' => 'Buscar Vino',
'not_found' => 'No encontrado',
'not_found_in_trash' => 'No encontrado en basurero',
'items_list' => 'Items list',
'items_list_navigation' => 'Items list navigation',
'filter_items_list' => 'Filter items list',
);
$rewrite = array(
'slug' => 'vino',
'with_front' => true,
'pages' => true,
'feeds' => true,
);
$args = array(
'label' => 'Vino',
'description' => 'Vinos Viña de Frannes',
'labels' => $labels,
'supports' => array( 'title', 'editor', 'custom-fields', ),
'taxonomies' => array( 'linea' ),
'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,
'rewrite' => $rewrite,
'capability_type' => 'post',
);
register_post_type( 'vino_post_type', $args );
}
add_action( 'init', 'vino_post_type', 0 );