CPT Servicios
Cpt de servicios creado para Unida
if ( ! function_exists('areafd_cpt_servicios') ) { // Register Custom Post Type function areafd_cpt_servicios() { $labels = array( 'name' => _x( 'Servicios', 'Post Type General Name', 'areafd_cpt_servicios' ), 'singular_name' => _x( 'Servicios', 'Post Type Singular Name', 'areafd_cpt_servicios' ), 'menu_name' => __( 'Servicios UnidaQP', 'areafd_cpt_servicios' ), 'name_admin_bar' => __( 'Servicios UnidaQP', 'areafd_cpt_servicios' ), 'archives' => __( 'Item Archives', 'areafd_cpt_servicios' ), 'attributes' => __( 'Item Attributes', 'areafd_cpt_servicios' ), 'parent_item_colon' => __( 'Parent Item:', 'areafd_cpt_servicios' ), 'all_items' => __( 'All Items', 'areafd_cpt_servicios' ), 'add_new_item' => __( 'Añadir servicio', 'areafd_cpt_servicios' ), 'add_new' => __( 'Añadir nuevo', 'areafd_cpt_servicios' ), 'new_item' => __( 'Nuevo servicio', 'areafd_cpt_servicios' ), 'edit_item' => __( 'Editar servicio', 'areafd_cpt_servicios' ), 'update_item' => __( 'Actualizar servicio', 'areafd_cpt_servicios' ), 'view_item' => __( 'Ver servicio', 'areafd_cpt_servicios' ), 'view_items' => __( 'Ver servicios', 'areafd_cpt_servicios' ), 'search_items' => __( 'Buscar servicio', 'areafd_cpt_servicios' ), 'not_found' => __( 'Not found', 'areafd_cpt_servicios' ), 'not_found_in_trash' => __( 'Not found in Trash', 'areafd_cpt_servicios' ), 'featured_image' => __( 'Imagen del servicio', 'areafd_cpt_servicios' ), 'set_featured_image' => __( 'Colocar imagen servicio', 'areafd_cpt_servicios' ), 'remove_featured_image' => __( 'Borrar Imagen servicio', 'areafd_cpt_servicios' ), 'use_featured_image' => __( 'Usar como imagen del servicio', 'areafd_cpt_servicios' ), 'insert_into_item' => __( 'Insert into item', 'areafd_cpt_servicios' ), 'uploaded_to_this_item' => __( 'Uploaded to this item', 'areafd_cpt_servicios' ), 'items_list' => __( 'lista de servicios', 'areafd_cpt_servicios' ), 'items_list_navigation' => __( 'Items list navigation', 'areafd_cpt_servicios' ), 'filter_items_list' => __( 'Filter items list', 'areafd_cpt_servicios' ), ); $args = array( 'label' => __( 'Servicios', 'areafd_cpt_servicios' ), 'description' => __( 'servicios', 'areafd_cpt_servicios' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', '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-networking', '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( 'servicios', $args ); } add_action( 'init', 'areafd_cpt_servicios', 0 ); }