Forum Replies Created
Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorPosts
-
Vipinn
ParticipantSent!
Vipinn
ParticipantHi there
Thanks for your reply. Can you tell me how I can share the copy of the plugin privately with you?
Thanks
April 7, 2023 at 8:16 PM in reply to: ✅Newly created custom post type name is not showing up in wordpress dashboard - l #41385Vipinn
ParticipantSame issue, newly created post type is not visible in the Dashboard menu. Here's the code:
add_action( 'init', 'e78_register_post_type_cs' ); function e78_register_post_type_cs() { $labels = [ 'name' => esc_html__( 'Case Studies', 'e78' ), 'singular_name' => esc_html__( 'Case Study', 'e78' ), 'add_new' => esc_html__( 'Add New', 'e78' ), 'add_new_item' => esc_html__( 'Add New Case Study', 'e78' ), 'edit_item' => esc_html__( 'Edit Case Study', 'e78' ), 'new_item' => esc_html__( 'New Case Study', 'e78' ), 'view_item' => esc_html__( 'View Case Study', 'e78' ), 'view_items' => esc_html__( 'View Case Studies', 'e78' ), 'search_items' => esc_html__( 'Search Case Studies', 'e78' ), 'not_found' => esc_html__( 'No case studies found.', 'e78' ), 'not_found_in_trash' => esc_html__( 'No case studies found in Trash.', 'e78' ), 'parent_item_colon' => esc_html__( 'Parent Case Study:', 'e78' ), 'all_items' => esc_html__( 'All Case Studies', 'e78' ), 'archives' => esc_html__( 'Case Study Archives', 'e78' ), 'attributes' => esc_html__( 'Case Study Attributes', 'e78' ), 'insert_into_item' => esc_html__( 'Insert into case study', 'e78' ), 'uploaded_to_this_item' => esc_html__( 'Uploaded to this case study', 'e78' ), 'featured_image' => esc_html__( 'Featured image', 'e78' ), 'set_featured_image' => esc_html__( 'Set featured image', 'e78' ), 'remove_featured_image' => esc_html__( 'Remove featured image', 'e78' ), 'use_featured_image' => esc_html__( 'Use as featured image', 'e78' ), 'menu_name' => esc_html__( 'Case Studies', 'e78' ), 'filter_items_list' => esc_html__( 'Filter case studies list', 'e78' ), 'filter_by_date' => esc_html__( '', 'e78' ), 'items_list_navigation' => esc_html__( 'Case Studies list navigation', 'e78' ), 'items_list' => esc_html__( 'Case Studies list', 'e78' ), 'item_published' => esc_html__( 'Case Study published.', 'e78' ), 'item_published_privately' => esc_html__( 'Case Study published privately.', 'e78' ), 'item_reverted_to_draft' => esc_html__( 'Case Study reverted to draft.', 'e78' ), 'item_scheduled' => esc_html__( 'Case Study scheduled.', 'e78' ), 'item_updated' => esc_html__( 'Case Study updated.', 'e78' ), 'text_domain' => esc_html__( 'e78', 'e78' ), ]; $args = [ 'label' => esc_html__( 'Case Studies', 'e78' ), 'labels' => $labels, 'description' => '', 'public' => true, 'hierarchical' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'show_ui' => false, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'show_in_rest' => true, 'query_var' => true, 'can_export' => true, 'delete_with_user' => true, 'has_archive' => true, 'rest_base' => '', 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-clipboard', 'capability_type' => 'post', 'supports' => ['title', 'editor', 'thumbnail', 'excerpt', 'custom-fields', 'comments'], 'taxonomies' => [], 'rewrite' => [ 'slug' => 'case-studies', 'with_front' => false, ], ]; register_post_type( 'case_study', $args ); }Vipinn
ParticipantThanks for your quick reply @Anh Tran Looking forward to a possible solution so that we can prepare our themes before the official release of the Gutenberg. Thanks
Vipinn
ParticipantHi there
Is there already an update available for Show/Hide and Conditional Logic extensions for them to work with the Gutenberg plugin? Both are not working with the Gutenberg.
Thanks
Vipinn -
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)