Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Music Label Artists

// Register Custom Post Type
function custom_post_type() {

	$labels = array(
		'name'                => 'Artists',
		'singular_name'       => 'Artist',
		'menu_name'           => 'Artists',
		'parent_item_colon'   => 'Parent Artist:',
		'all_items'           => 'All Artists',
		'view_item'           => 'View Artist',
		'add_new_item'        => 'Add New Artists',
		'add_new'             => 'Add New',
		'edit_item'           => 'Edit Artist',
		'update_item'         => 'Update Artist',
		'search_items'        => 'Search Artists',
		'not_found'           => 'Not found',
		'not_found_in_trash'  => 'Not found in Trash',
	);
	$args = array(
		'label'               => 'artist',
		'description'         => 'Artist Profiles',
		'labels'              => $labels,
		'supports'            => array( 'title', 'editor', 'thumbnail', ),
		'hierarchical'        => false,
		'public'              => true,
		'show_ui'             => true,
		'show_in_menu'        => true,
		'show_in_nav_menus'   => true,
		'show_in_admin_bar'   => true,
		'menu_position'       => 5,
		'menu_icon'           => '',
		'can_export'          => true,
		'has_archive'         => true,
		'exclude_from_search' => false,
		'publicly_queryable'  => true,
		'capability_type'     => 'page',
	);
	register_post_type( 'artist', $args );

}

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