testimonios
if ( ! function_exists('testimonios') ) {
// Register Custom Post Type
function testimonios() {
$labels = array(
'name' => _x( 'Testimonios', 'Post Type General Name', 'mga' ),
'singular_name' => _x( 'Testimonios', 'Post Type Singular Name', 'mga' ),
'menu_name' => __( 'Testimonios', 'mga' ),
'name_admin_bar' => __( 'Testimonios', 'mga' ),
'archives' => __( 'Archivo de Testimonios', 'mga' ),
'attributes' => __( 'Atributos del Testimonio', 'mga' ),
'parent_item_colon' => __( 'Item padre', 'mga' ),
'all_items' => __( 'Todos los Testimonios', 'mga' ),
'add_new_item' => __( 'Agregar nuevo Testimonio', 'mga' ),
'add_new' => __( 'Agregar nuevo', 'mga' ),
'new_item' => __( 'Nuevo Testimonio', 'mga' ),
'edit_item' => __( 'Editar Testimonio', 'mga' ),
'update_item' => __( 'Actulizar Testimonio', 'mga' ),
'view_item' => __( 'Ver Testimonio', 'mga' ),
'view_items' => __( 'Ver Testimonios', 'mga' ),
'search_items' => __( 'Buscar Testimonio', 'mga' ),
'not_found' => __( 'No encontrado', 'mga' ),
'not_found_in_trash' => __( 'No encontrado en la basura', 'mga' ),
'featured_image' => __( 'Imagen Destacada', 'mga' ),
'set_featured_image' => __( 'definir Imagen Destacada', 'mga' ),
'remove_featured_image' => __( 'Remover Imagen Destacada', 'mga' ),
'use_featured_image' => __( 'Usar como Imagen Destacada', 'mga' ),
'insert_into_item' => __( 'Insertar en Testimonio', 'mga' ),
'uploaded_to_this_item' => __( 'subir a este ítem', 'mga' ),
'items_list' => __( 'Listado de Testimonios', 'mga' ),
'items_list_navigation' => __( 'Listado de Testimonios', 'mga' ),
'filter_items_list' => __( 'Filtrar Testimonios', 'mga' ),
);
$args = array(
'label' => __( 'Testimonios', 'mga' ),
'description' => __( 'Testimonios', 'mga' ),
'labels' => $labels,
'supports' => array( 'title', 'editor', 'thumbnail', ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 5,
'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( 'testimonios', $args );
}
add_action( 'init', 'testimonios', 0 );
}