Lecture note feature for teachers

We will let teachers create lecture notes on the website. First we will create a new role, teacher, and then give that role access to the Lecture Notes feature developed in the previous lesson. We will also make the lecture notes private so they are accessible only by the teacher who created them.

The "Teacher" role will only have access to the Lectures feature. They will be able to create, edit and delete outlines for their lectures.

Right now only administrators and editors are allowed to create lecture posts. To create a new role, we need to separate the lecture post type from the generic blog posts by adding the following lines when registering the lecture post type in the school-custom-post-types.php file in mu-plugins folder:

Get hands-on with 1200+ tech skills courses.