Post Types Cadastro de Atas de Reuniões
Cadastro de Atas de Reuniões
// Register Custom Post Type function atas_reunioes_post_type() { $labels = array( 'name' => _x( 'Atas de Reuniões', 'Post Type General Name', 'hello-elementor' ), 'singular_name' => _x( 'Atas de Reuniões', 'Post Type Singular Name', 'hello-elementor' ), 'menu_name' => __( 'Atas de Reuniões', 'hello-elementor' ), 'name_admin_bar' => __( 'Post Type', 'hello-elementor' ), 'archives' => __( 'Arquivos', 'hello-elementor' ), 'attributes' => __( 'Atributos', 'hello-elementor' ), 'parent_item_colon' => __( 'Item pai:', 'hello-elementor' ), 'all_items' => __( 'Todos as Atas', 'hello-elementor' ), 'add_new_item' => __( 'Adicionar nova Ata', 'hello-elementor' ), 'add_new' => __( 'Adicionar nova Ata de reunião', 'hello-elementor' ), 'new_item' => __( 'Nova Ata', 'hello-elementor' ), 'edit_item' => __( 'Editar Ata', 'hello-elementor' ), 'update_item' => __( 'Atualizar Ata de reunião', 'hello-elementor' ), 'view_item' => __( 'Visualizar item', 'hello-elementor' ), 'view_items' => __( 'Visualizar itens', 'hello-elementor' ), 'search_items' => __( 'Item de Pesquisa', 'hello-elementor' ), 'not_found' => __( 'Nenhuma Ata foi encontrada', 'hello-elementor' ), 'not_found_in_trash' => __( 'Nenhuma Ata foi encontrada na lixeira', 'hello-elementor' ), 'featured_image' => __( 'Imagem em destaque', 'hello-elementor' ), 'set_featured_image' => __( 'Definir imagem da Ata em destaque', 'hello-elementor' ), 'remove_featured_image' => __( 'Remover imagem em destaqueRemove featured image', 'hello-elementor' ), 'use_featured_image' => __( 'Use como imagem em destaque', 'hello-elementor' ), 'insert_into_item' => __( 'Inserir no item', 'hello-elementor' ), 'uploaded_to_this_item' => __( 'Carregado para este item', 'hello-elementor' ), 'items_list' => __( 'Lista de itens', 'hello-elementor' ), 'items_list_navigation' => __( 'Navegação da lista de itens', 'hello-elementor' ), 'filter_items_list' => __( 'Lista de itens de filtro', 'hello-elementor' ), ); $args = array( 'label' => __( 'Atas de Reuniões', 'hello-elementor' ), 'description' => __( 'Cadastros de Atas de Reuniões', 'hello-elementor' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'custom-fields' ), 'taxonomies' => array( 'category', ' post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-groups', '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( 'atas_reunioes', $args ); } add_action( 'init', 'atas_reunioes_post_type', 0 );