Hi Todd,
I update to the snippet below in function.php but still not helps. I create a archive template using Elementor for the new post type. However, I cannot find Titles & Meta setting anywhere. Please kindly advise. Thank you.
// Register Custom Post Type Loan Case
function create_loancase_cpt() {
$labels = array(
'name' => _x( 'Loan Cases', 'Post Type General Name', 'textdomain' ),
'singular_name' => _x( 'Loan Case', 'Post Type Singular Name', 'textdomain' ),
'menu_name' => _x( 'Loan Cases', 'Admin Menu text', 'textdomain' ),
'name_admin_bar' => _x( 'Loan Case', 'Add New on Toolbar', 'textdomain' ),
'archives' => __( 'Loan Case Archives', 'textdomain' ),
'attributes' => __( 'Loan Case Attributes', 'textdomain' ),
'parent_item_colon' => __( 'Parent Loan Case:', 'textdomain' ),
'all_items' => __( 'All Loan Cases', 'textdomain' ),
'add_new_item' => __( 'Add New Loan Case', 'textdomain' ),
'add_new' => __( 'Add New', 'textdomain' ),
'new_item' => __( 'New Loan Case', 'textdomain' ),
'edit_item' => __( 'Edit Loan Case', 'textdomain' ),
'update_item' => __( 'Update Loan Case', 'textdomain' ),
'view_item' => __( 'View Loan Case', 'textdomain' ),
'view_items' => __( 'View Loan Cases', 'textdomain' ),
'search_items' => __( 'Search Loan Case', 'textdomain' ),
'not_found' => __( 'Not found', 'textdomain' ),
'not_found_in_trash' => __( 'Not found in Trash', 'textdomain' ),
'featured_image' => __( 'Featured Image', 'textdomain' ),
'set_featured_image' => __( 'Set featured image', 'textdomain' ),
'remove_featured_image' => __( 'Remove featured image', 'textdomain' ),
'use_featured_image' => __( 'Use as featured image', 'textdomain' ),
'insert_into_item' => __( 'Insert into Loan Case', 'textdomain' ),
'uploaded_to_this_item' => __( 'Uploaded to this Loan Case', 'textdomain' ),
'items_list' => __( 'Loan Cases list', 'textdomain' ),
'items_list_navigation' => __( 'Loan Cases list navigation', 'textdomain' ),
'filter_items_list' => __( 'Filter Loan Cases list', 'textdomain' ),
);
$args = array(
'label' => __( 'Loan Case', 'textdomain' ),
'description' => __( '', 'textdomain' ),
'labels' => $labels,
'menu_icon' => 'dashicons-admin-multisite',
'supports' => array('title', 'editor', 'thumbnail', 'revisions'),
'taxonomies' => array(),
'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,
'hierarchical' => false,
'exclude_from_search' => false,
'show_in_rest' => false,
'publicly_queryable' => true,
'capability_type' => 'post',
);
register_post_type( 'loancase', $args );
}
add_action( 'init', 'create_loancase_cpt', 0 );