I Believe this are the Custom Post type of wordpress. Custom post type will work in same way as the post is working, you can make different category for each post type and also will able to create different archive and single page. I am posting a sample post type code if you want to experiment more on this. This code you simply copy and past into function.php of your theme or you can put this in different .php file and you can require_once
in function.php file like i am doing require_once('custom-post-type/team.php');
I always create different folder of custom post type and then put all post type files there and make it require in function file.
<?php
/* Custom Post Type ===> team_member */
add_action( 'init', 'register_cpt_team_member' );
function register_cpt_team_member() {
$labels = array(
'name' => _x( 'Team Member', 'team_member' ),
'singular_name' => _x( 'Team Member', 'team_member' ),
'add_new' => _x( 'Add New', 'team_member' ),
'add_new_item' => _x( 'Add New Team Member', 'team_member' ),
'edit_item' => _x( 'Edit Team Member', 'team_member' ),
'new_item' => _x( 'New Team Member', 'team_member' ),
'view_item' => _x( 'View Team Member', 'team_member' ),
'search_items' => _x( 'Search Team Member', 'team_member' ),
'not_found' => _x( 'No Team Member found', 'team_member' ),
'not_found_in_trash' => _x( 'No Team Member found in Trash', 'team_member' ),
'menu_name' => _x( 'Team Member', 'team_member' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'custom-fields', 'revisions', 'page-attributes' ),
//'taxonomies' => array('post_tag'),
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_icon' => 'dashicons-admin-users',
'show_in_nav_menus' => true,
'publicly_queryable' => true,
'exclude_from_search' => false,
'has_archive' => true,
'query_var' => true,
'can_export' => true,
'rewrite' => array('slug' => 'team_member'),
'capability_type' => 'post'
);
register_post_type( 'team_member', $args );
flush_rewrite_rules(); // <- do this only once!
}
?>
If you want to Know more details on custom post type refer to wordpress codex.
https://codex.wordpress.org/Post_Types
register_post_type()
might be used in their active theme then. Those are custom post types, and can be registered usingregister_post_type()
function.