Adding custom meta boxes for custom fields in a plugin is made easier with the CMB2 package. Learn how to set it up.
- [Instructor] In the previous chapter,…we talked about the content model for the task post type.…You may remember this graphic…that showed the task name or title is mapped…to the title field,…the description to the post content field,…and then we have these other fields…that need to be captured separately…that we don't currently have in WordPress.…Going into the current sites and creating a new task,…you see the problem right away.…Here we have the title field and the content field…and nothing else.…That means, for anyone creating a task,…to have no way of adding additional data…into the content model,…and there's no way of accessing any data…that would have been added from the backend of WordPress.…
What we need to do here is first add new custom metaboxes…to the Task Editor,…so we can actually add all these different pieces…of information into the Task Editor,…then we'll map our app to send and receive information…from whatever custom setup that our solution creates…for that data that's entered in here.…Seeing all this, I'm sure you're thinking,…
- Planning the application
- Extending WordPress with a plugin
- Setting up the standalone application
- Configuring OAuth 2 in WordPress
- Building the task list view
- Building the new task view
- Creating a new task via the REST API
- Displaying conditional content
- Visualizing data using Graph.js
Skill Level Advanced
1. Plan the Application
2. Extend WordPress with a Plugin
3. Set Up the Standalone Application
Review of user flow2m 34s
4. Build the Task List View
5. Build the New Task View
6. Build the Update/View Task View
7. Bonus Features
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.