Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Courses Post

provide, all information, related to courses, Majors, & Scholarships, offered, by institutes, universities, & organizations.

// Register Custom Post Type
function courses_manager() {

	$labels = array(
		'name'                => 'Courses',
		'singular_name'       => 'Course',
		'menu_name'           => 'Courses',
		'name_admin_bar'      => 'Course',
		'parent_item_colon'   => 'Parent Course:',
		'all_items'           => 'All Courses',
		'add_new_item'        => 'Add New Course',
		'add_new'             => 'Add New',
		'new_item'            => 'New Course',
		'edit_item'           => 'Edit Course',
		'update_item'         => 'Update Course',
		'view_item'           => 'View Course',
		'search_items'        => 'Search Courses',
		'not_found'           => 'Not found',
		'not_found_in_trash'  => 'No Courses found in Trash',
	);
	$args = array(
		'label'               => 'courses_manager',
		'description'         => 'provide, all information, related to courses, Majors, & Scholarships, offered, by institutes, universities, & organizations.',
		'labels'              => $labels,
		'supports'            => array( 'title', 'editor', 'excerpt', 'author', 'thumbnail', 'comments', 'trackbacks', 'revisions', 'custom-fields', ),
		'taxonomies'          => array( 'course_category', 'locations' ),
		'hierarchical'        => false,
		'public'              => true,
		'show_ui'             => true,
		'show_in_menu'        => true,
		'menu_position'       => 5,
		'menu_icon'           => 'dashicons-welcome-learn-more',
		'show_in_admin_bar'   => true,
		'show_in_nav_menus'   => true,
		'can_export'          => true,
		'has_archive'         => true,
		'exclude_from_search' => false,
		'publicly_queryable'  => true,
		'capability_type'     => 'post',
	);
	register_post_type( 'courses_manager', $args );

}

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