Custom content is what makes WordPress shine. Learn how to create custom post types and taxonomies to extend what you can do with WordPress.
Overview
Syllabus
Introduction
- Create better content
- What you should know
- Demo project overview
- What are custom post types?
- What are custom taxonomies?
- Where does the code belong?
- The no-code solution
- Creating custom post types
- Creating custom post type labels
- Custom post type capability settings
- Displaying your post type on the front end
- Creating custom taxonomies
- Creating custom taxonomy labels
- Customizing the taxonomies' settings
- Importing and exporting your data
- Creating your plugin
- Building a basic custom post type
- Customizing your post type labels
- Customizing your post type settings
- Activating the REST API on your post type
- Creating a post with your post type
- Challenge: Create an events post type
- Solution: Create an events post type
- Extending post types with custom fields
- Building a basic custom taxonomy
- Creating an advanced custom taxonomy
- Activating the REST API for your taxonomy
- Adding taxonomy terms to your post types
- Challenge: Make location taxonomy
- Solution: Make location taxonomy
- The WordPress template hierarchy
- Setting up your child theme
- Creating a single custom post template
- Modifying the single template header
- Creating a custom post archive template
- Adding a custom taxonomy to a template
- Creating a custom taxonomy template
- Custom post types on the front page
- Organizing your child theme
- Creating a custom loop for post types
- Displaying the custom loop
- Styling your custom loop
- Warning: Custom post types in themes
- Adding custom post types to themes
- Automatically flushing rewrite riles
- Next steps
Taught by
Joe Casabona