WordPress: Custom Post Types and Taxonomies

WordPress: Custom Post Types and Taxonomies

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 09m | 370 MB

WordPress is a powerful content management system—but it shines with customization. For example, there are seven default post types, organized using built-in taxonomies like categories and tags. But you can display different types of content according to your own rules by creating custom post types and taxonomies. Best of all, you can customize these elements without a lot of code. In this course, Joe Casabona shows how to create new post types and taxonomies, create a theme-agnostic plugin to house them, and build templates that display the custom post types in effective ways. Plus, learn how to move your custom post types and taxonomies to existing themes to leverage them in current sites.

Topics include:

  • Defining custom post types and taxonomies
  • Creating custom post types without code
  • Displaying new post types on the front end
  • Building custom taxonomies without code
  • Importing and exporting taxonomy data
  • Creating custom post type templates
  • Moving custom post types to your theme
Table of Contents

Introduction
1 Create better content
2 What you should know
3 Demo project overview

What Are Custom Post Types and Taxonomies
4 What are custom post types
5 What are custom taxonomies
6 Where does the code belong

Creating Custom Post Types without Code
7 The no-code solution
8 Creating custom post types
9 Creating custom post type labels
10 Custom post type capability settings
11 Displaying your post type on the front end

Creating Custom Taxonomies without Code
12 Creating custom taxonomies
13 Creating custom taxonomy labels
14 Customizing the taxonomies’ settings
15 Importing and exporting your data

Coding Your Own Custom Post Types
16 Creating your plugin
17 Building a basic custom post type
18 Customizing your post type labels
19 Customizing your post type settings
20 Activating the REST API on your post type
21 Creating a post with your post type
22 Challenge Create an events post type
23 Solution Create an events post type
24 Extending post types with custom fields

Coding Your Own Custom Taxonomies
25 Building a basic custom taxonomy
26 Creating an advanced custom taxonomy
27 Activating the REST API for your taxonomy
28 Adding taxonomy terms to your post types
29 Challenge Make location taxonomy
30 Solution Make location taxonomy

Creating Custom Post Type Templates
31 The WordPress template hierarchy
32 Setting up your child theme
33 Creating a single custom post template
34 Modifying the single template header
35 Creating a custom post archive template
36 Adding a custom taxonomy to a template
37 Creating a custom taxonomy template

Custom Post Types and Taxonomies in Other Templates
38 Custom post types on the front page
39 Organizing your child theme
40 Creating a custom loop for post types
41 Displaying the custom loop
42 Styling your custom loop

Moving Your Post Types to Your Theme
43 Warning Custom post types in themes
44 Adding custom post types to themes
45 Automatically flushing rewrite riles

Conclusion
46 Next steps