Hoteles
pos type hoteles
// Register Custom Post Type function ma_hoteles() { $labels = array( 'name' => _x( 'Hoteles', 'Post Type General Name', 'hoteles' ), 'singular_name' => _x( 'Hotel', 'Post Type Singular Name', 'hoteles' ), 'menu_name' => __( 'Hoteles', 'hoteles' ), 'name_admin_bar' => __( 'Hoteles', 'hoteles' ), 'archives' => __( 'Archivos hoteles', 'hoteles' ), 'attributes' => __( 'Articulos hoteles', 'hoteles' ), 'parent_item_colon' => __( 'Hotel padre', 'hoteles' ), 'all_items' => __( 'Todos los hoteles', 'hoteles' ), 'add_new_item' => __( 'Agregar hotel', 'hoteles' ), 'add_new' => __( 'Agregar hotel', 'hoteles' ), 'new_item' => __( 'Nuevo hotel', 'hoteles' ), 'edit_item' => __( 'Editar hotel', 'hoteles' ), 'update_item' => __( 'Actualizar hotel', 'hoteles' ), 'view_item' => __( 'Ver hotel', 'hoteles' ), 'view_items' => __( 'Ver hoteles', 'hoteles' ), 'search_items' => __( 'Buscar hotel', 'hoteles' ), 'not_found' => __( 'No hay hotels', 'hoteles' ), 'not_found_in_trash' => __( 'No se encuentran hoteles en la basura', 'hoteles' ), 'featured_image' => __( 'Imagen destacada', 'hoteles' ), 'set_featured_image' => __( 'Configuración de imagen destacada', 'hoteles' ), 'remove_featured_image' => __( 'Eliminar imagen destacada', 'hoteles' ), 'use_featured_image' => __( 'Utilizar como imagen destacada', 'hoteles' ), 'insert_into_item' => __( 'Insertar en el artículo', 'hoteles' ), 'uploaded_to_this_item' => __( 'Subido a este hotel', 'hoteles' ), 'items_list' => __( 'Lista de hoteles', 'hoteles' ), 'items_list_navigation' => __( 'Navegación por la lista de hoteles', 'hoteles' ), 'filter_items_list' => __( 'Lista de hoteles filtrados', 'hoteles' ), ); $args = array( 'label' => __( 'Hotel', 'hoteles' ), 'description' => __( 'Post de hoteles', 'hoteles' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'comments', 'trackbacks', 'revisions', 'custom-fields', 'page-attributes', 'post-formats' ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-clipboard', '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( 'Hoteles', $args ); } add_action( 'init', 'ma_hoteles', 0 );