shooting
shooting
// Register Custom Post Type function shooting() { $labels = array( 'name' => _x( 'shootings', 'Post Type General Name', 'shooting' ), 'singular_name' => _x( 'shooting', 'Post Type Singular Name', 'shooting' ), 'menu_name' => __( 'shooting', 'shooting' ), 'name_admin_bar' => __( 'shooting', 'shooting' ), 'archives' => __( 'Listado de shooting', 'shooting' ), 'attributes' => __( 'Atributos', 'shooting' ), 'parent_item_colon' => __( 'Shooting superior', 'shooting' ), 'all_items' => __( 'Todos los shooting', 'shooting' ), 'add_new_item' => __( 'Añadir nuevo shooting', 'shooting' ), 'add_new' => __( 'Añadir nuevo', 'shooting' ), 'new_item' => __( 'Nuevo shooting', 'shooting' ), 'edit_item' => __( 'Editar shooting', 'shooting' ), 'update_item' => __( 'Actualizar shooting', 'shooting' ), 'view_item' => __( 'Ver shooting', 'shooting' ), 'view_items' => __( 'Ver shootings', 'shooting' ), 'search_items' => __( 'Buscar shooting', 'shooting' ), 'not_found' => __( 'shooting no encontrado', 'shooting' ), 'not_found_in_trash' => __( 'shooting no encontrado en la papelera', 'shooting' ), 'featured_image' => __( 'Imagen destacada shooting', 'shooting' ), 'set_featured_image' => __( 'Establecer imagen destacada shooting', 'shooting' ), 'remove_featured_image' => __( 'Eliminar imagen destacada shooting', 'shooting' ), 'use_featured_image' => __( 'Usar como imagen destacada shooting', 'shooting' ), 'insert_into_item' => __( 'Insertar en shooting', 'shooting' ), 'uploaded_to_this_item' => __( 'Subir a este shooting', 'shooting' ), 'items_list' => __( 'Lista de shooting', 'shooting' ), 'items_list_navigation' => __( 'Lista de shooting', 'shooting' ), 'filter_items_list' => __( 'Filtrar lista de shooting', 'shooting' ), ); $args = array( 'label' => __( 'shooting', 'shooting' ), 'description' => __( 'shooting', 'shooting' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'revisions' ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-camera', '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', 'show_in_rest' => true, ); register_post_type( 'shooting', $args ); } add_action( 'init', 'shooting', 0 );