Crear Restaurantes San cristobal
Crear Restaurantes para comida delivery en san cristobal
if ( ! function_exists('restaurantes_san_cristobal_post_type') ) { // Register Custom Post Type function restaurantes_san_cristobal_post_type() { $labels = array( 'name' => _x( 'Restaurantes', 'Post Type General Name', 'restaurantes_san_cristobal_post_type' ), 'singular_name' => _x( 'Restaurante', 'Post Type Singular Name', 'restaurantes_san_cristobal_post_type' ), 'menu_name' => __( 'Restaurantes', 'restaurantes_san_cristobal_post_type' ), 'name_admin_bar' => __( 'Restaurantes', 'restaurantes_san_cristobal_post_type' ), 'archives' => __( 'Archivo de Restaurantes', 'restaurantes_san_cristobal_post_type' ), 'attributes' => __( 'Atributos de Restaurantes', 'restaurantes_san_cristobal_post_type' ), 'parent_item_colon' => __( 'Restaurante Padre:', 'restaurantes_san_cristobal_post_type' ), 'all_items' => __( 'Todos los Restaurantes', 'restaurantes_san_cristobal_post_type' ), 'add_new_item' => __( 'Agregar nuevo Restaurante', 'restaurantes_san_cristobal_post_type' ), 'add_new' => __( 'Agregar Nuevo', 'restaurantes_san_cristobal_post_type' ), 'new_item' => __( 'Nuevo Restaurante', 'restaurantes_san_cristobal_post_type' ), 'edit_item' => __( 'Editar Restaurante', 'restaurantes_san_cristobal_post_type' ), 'update_item' => __( 'Actualizar Restaurante', 'restaurantes_san_cristobal_post_type' ), 'view_item' => __( 'Ver Restaurante', 'restaurantes_san_cristobal_post_type' ), 'view_items' => __( 'Ver Restaurantes', 'restaurantes_san_cristobal_post_type' ), 'search_items' => __( 'Buscar Restaurantes', 'restaurantes_san_cristobal_post_type' ), 'not_found' => __( 'No encontrado', 'restaurantes_san_cristobal_post_type' ), 'not_found_in_trash' => __( 'No encontrado en la papelera', 'restaurantes_san_cristobal_post_type' ), 'featured_image' => __( 'Imagen Destacada', 'restaurantes_san_cristobal_post_type' ), 'set_featured_image' => __( 'Establecer Imagen Destacada', 'restaurantes_san_cristobal_post_type' ), 'remove_featured_image' => __( 'Eliminar Imagen Destacada', 'restaurantes_san_cristobal_post_type' ), 'use_featured_image' => __( 'Usar como Imagen Destacada', 'restaurantes_san_cristobal_post_type' ), 'insert_into_item' => __( 'Insertar en Restaurante', 'restaurantes_san_cristobal_post_type' ), 'uploaded_to_this_item' => __( 'Subido a este Restaurante', 'restaurantes_san_cristobal_post_type' ), 'items_list' => __( 'Lista de Restaurantes', 'restaurantes_san_cristobal_post_type' ), 'items_list_navigation' => __( 'Lista de Navegacion de Restaurantes', 'restaurantes_san_cristobal_post_type' ), 'filter_items_list' => __( 'Filtrar lista de Restaurantes', 'restaurantes_san_cristobal_post_type' ), ); $args = array( 'label' => __( 'Restaurante', 'restaurantes_san_cristobal_post_type' ), 'description' => __( 'Crear Informacion de Restaurantes en San Cristobal', 'restaurantes_san_cristobal_post_type' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'comments', 'revisions', 'page-attributes' ), 'taxonomies' => array( 'category' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 20, 'menu_icon' => 'dashicons-store', '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( 'restaurantes', $args ); } add_action( 'init', 'restaurantes_san_cristobal_post_type', 0 ); }