Certificados
Certificados – Diplomas
// Register Custom Post Type function certif_post_type() { $labels = array( 'name' => _x( 'Certificados', 'Post Type General Name', 'certif_domain' ), 'singular_name' => _x( 'Certificado', 'Post Type Singular Name', 'certif_domain' ), 'menu_name' => __( 'Certificado', 'certif_domain' ), 'name_admin_bar' => __( 'Certificados', 'certif_domain' ), 'archives' => __( 'Archivos', 'certif_domain' ), 'attributes' => __( 'Atributos', 'certif_domain' ), 'parent_item_colon' => __( 'Padre', 'certif_domain' ), 'all_items' => __( 'Todos', 'certif_domain' ), 'add_new_item' => __( 'Agregar', 'certif_domain' ), 'add_new' => __( 'Agregar', 'certif_domain' ), 'new_item' => __( 'Nuevo', 'certif_domain' ), 'edit_item' => __( 'Editar', 'certif_domain' ), 'update_item' => __( 'Actualizar', 'certif_domain' ), 'view_item' => __( 'Ver certificado', 'certif_domain' ), 'view_items' => __( 'Ver certificados', 'certif_domain' ), 'search_items' => __( 'Buscar', 'certif_domain' ), 'not_found' => __( 'No encontrado', 'certif_domain' ), 'not_found_in_trash' => __( 'No encontrado en la papelera', 'certif_domain' ), 'featured_image' => __( 'Imagen destacada', 'certif_domain' ), 'set_featured_image' => __( 'Asignar imagen destacada', 'certif_domain' ), 'remove_featured_image' => __( 'Remover imagen destacada', 'certif_domain' ), 'use_featured_image' => __( 'Usar como imagen destacada', 'certif_domain' ), 'insert_into_item' => __( 'Insertar en certificado', 'certif_domain' ), 'uploaded_to_this_item' => __( 'Subir certificado', 'certif_domain' ), 'items_list' => __( 'Lista de certificados', 'certif_domain' ), 'items_list_navigation' => __( 'Lista de navegación certificados', 'certif_domain' ), 'filter_items_list' => __( 'Filtro certificados', 'certif_domain' ), ); $rewrite = array( 'slug' => 'certificados', 'with_front' => true, 'pages' => true, 'feeds' => true, ); $args = array( 'label' => __( 'Certificado', 'certif_domain' ), 'description' => __( 'Certificados de cursos', 'certif_domain' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'comments', 'custom-fields' ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-nametag', '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' => 'page', ); register_post_type( 'certif_post_type', $args ); } add_action( 'init', 'certif_post_type', 0 );