Diseñadores
Diseñadores para Chimpress
// Register Custom Post Type
function cpt_disenador() {
$labels = array(
'name' => _x( 'Diseñadores', 'Post Type General Name', 'chimpress' ),
'singular_name' => _x( 'Diseñador', 'Post Type Singular Name', 'chimpress' ),
'menu_name' => __( 'Diseñadores', 'chimpress' ),
'name_admin_bar' => __( 'Diseñadores', 'chimpress' ),
'parent_item_colon' => __( 'Diseñador Padre:', 'chimpress' ),
'all_items' => __( 'Todo los Diseñadores', 'chimpress' ),
'add_new_item' => __( 'Agregar Nuevo Diseñador', 'chimpress' ),
'add_new' => __( 'Agregar Nuevo', 'chimpress' ),
'new_item' => __( 'Nuevo Diseñador', 'chimpress' ),
'edit_item' => __( 'Editar Diseñador', 'chimpress' ),
'update_item' => __( 'Actualizar Diseñador', 'chimpress' ),
'view_item' => __( 'Ver Diseñador', 'chimpress' ),
'search_items' => __( 'Buscar Diseñador', 'chimpress' ),
'not_found' => __( 'Diseñadores no encontrados', 'chimpress' ),
'not_found_in_trash' => __( 'Diseñadores no encontrados en la papelera', 'chimpress' ),
);
$args = array(
'label' => __( 'disenador', 'chimpress' ),
'description' => __( 'Diseñadores para Chimpress', 'chimpress' ),
'labels' => $labels,
'supports' => array( 'title', 'excerpt', 'thumbnail', ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 20,
'menu_icon' => 'dashicons-universal-access',
'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( 'disenador', $args );
}
// Hook into the 'init' action
add_action( 'init', 'cpt_disenador', 0 );