Servicios
Servicios prestados
if ( ! function_exists('ibt_servicios_post_type') ) { // Register Custom Post Type function ibt_servicios_post_type() { $labels = array( 'name' => _x( 'Servicios', 'Post Type General Name', 'ibt' ), 'singular_name' => _x( 'Servicio', 'Post Type Singular Name', 'ibt' ), 'menu_name' => __( 'Servicios', 'ibt' ), 'parent_item_colon' => __( 'Servicio superior', 'ibt' ), 'all_items' => __( 'Todos los servicios', 'ibt' ), 'view_item' => __( 'Ver servicio', 'ibt' ), 'add_new_item' => __( 'Añadir nuevo servicio', 'ibt' ), 'add_new' => __( 'Añadir nuevo', 'ibt' ), 'edit_item' => __( 'Editar servicio', 'ibt' ), 'update_item' => __( 'Actualizar servicio', 'ibt' ), 'search_items' => __( 'Buscar servicios', 'ibt' ), 'not_found' => __( 'No se han encontrado resultados', 'ibt' ), 'not_found_in_trash' => __( 'No hay nada en la papelera', 'ibt' ), ); $args = array( 'label' => __( 'servicios', 'ibt' ), 'description' => __( 'Servicios prestados', 'ibt' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'revisions', 'custom-fields', ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-desktop', 'can_export' => true, 'has_archive' => false, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'servicios', $args ); } // Hook into the 'init' action add_action( 'init', 'ibt_servicios_post_type', 0 ); }