Custom Post Type for Storing Lecture Notes

In this lesson, we will create a lecture notes feature. We will provide this feature to teachers to let them create lecture notes which will be saved in their accounts. We will talk more about creating user accounts in the next chapter of the course.

The first step is to create a custom post type for lecture notes. Then, we will create a page to display the lecture note posts. This page will have a form where users can enter the title and contents of the lecture note with a save button to save the lecture. Below the form, the user will be shown his/her past lecture notes. The user will also have the option of editing and deleting previously created lecture notes. In the upcoming lessons, we will learn how to send the create, edit and delete requests to the REST API and show the changes in real time using JavaScript.

This is how we want the page to look like:

Get hands-on with 1400+ tech skills courses.