Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

RMI – Content Pods

// Register Custom Post Type
function custom_post_type() {

	$labels = array(
		'name'                => 'Content Pods',
		'singular_name'       => 'Content Pod',
		'menu_name'           => 'Content Pods',
		'name_admin_bar'      => 'Content Pods',
		'parent_item_colon'   => 'Parent Item:',
		'all_items'           => 'All Items',
		'add_new_item'        => 'Add New Item',
		'add_new'             => 'Add New',
		'new_item'            => 'New Item',
		'edit_item'           => 'Edit Item',
		'update_item'         => 'Update Item',
		'view_item'           => 'View Item',
		'search_items'        => 'Search Item',
		'not_found'           => 'Not found',
		'not_found_in_trash'  => 'Not found in Trash',
	);
	$args = array(
		'label'               => 'content_pods',
		'description'         => 'Shared content pods',
		'labels'              => $labels,
		'supports'            => array( 'title', 'editor', ),
		'hierarchical'        => true,
		'public'              => true,
		'show_ui'             => true,
		'show_in_menu'        => true,
		'menu_position'       => 25,
		'menu_icon'           => 'dashicons-images-alt2',
		'show_in_admin_bar'   => true,
		'show_in_nav_menus'   => true,
		'can_export'          => true,
		'has_archive'         => false,		
		'exclude_from_search' => true,
		'publicly_queryable'  => true,
		'rewrite'             => false,
		'capability_type'     => 'page',
	);
	register_post_type( 'content_pods', $args );

}

// Hook into the 'init' action
add_action( 'init', 'custom_post_type', 0 );