Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Fiesta Bowl Recaps

// Register Custom Post Type
function fiestarecap_post_type() {

	$labels = array(
		'name'                => 'Recaps',
		'singular_name'       => 'Recap',
		'menu_name'           => 'Fiesta Bowl Recaps',
		'name_admin_bar'      => 'Fiesta Bowl Recaps',
		'parent_item_colon'   => 'Parent Recap:',
		'all_items'           => 'All Recaps',
		'add_new_item'        => 'Add New Recap',
		'add_new'             => 'Add New',
		'new_item'            => 'New Recap',
		'edit_item'           => 'Edit Recap',
		'update_item'         => 'Update Recap',
		'view_item'           => 'View Recap',
		'search_items'        => 'Search Recaps',
		'not_found'           => 'Not found',
		'not_found_in_trash'  => 'Not found in Trash',
	);
	$rewrite = array(
		'slug'                => 'fiesta-bowl-recaps',
		'with_front'          => true,
		'pages'               => true,
		'feeds'               => true,
	);
	$args = array(
		'label'               => 'fiesta_recap',
		'description'         => 'Fiesta Bowl Recaps',
		'labels'              => $labels,
		'supports'            => array( 'title', 'thumbnail', ),
		'hierarchical'        => false,
		'public'              => true,
		'show_ui'             => true,
		'show_in_menu'        => true,
		'menu_position'       => 20,
		'menu_icon'           => 'dashicons-backup',
		'show_in_admin_bar'   => true,
		'show_in_nav_menus'   => true,
		'can_export'          => true,
		'has_archive'         => true,
		'exclude_from_search' => false,
		'publicly_queryable'  => true,
		'rewrite'             => $rewrite,
		'capability_type'     => 'post',
	);
	register_post_type( 'fiesta_recap', $args );

}

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