WordPress: Custom Post Types and Taxonomies

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
Curriculum

Topics for this course

Introduction

  • Create better content
    00:00:00
  • What you should know
    00:00:00
  • Demo project overview
    00:00:00

What are Custom Post Types and Taxonomies

  • What are custom past types
    00:00:00
  • What are custom texonomies
    00:00:00
  • Where does the code belong
    00:00:00

Creating Custom Postv Type without Code

  • The no code solution
    00:00:00
  • Creating custom post types
    00:00:00
  • Creating custom post types labels
    00:00:00
  • Custom post types capability setting
    00:00:00
  • Displaying your post type on the front end
    00:00:00

Creating Custom Taxonomies without Code

  • Creating custom texonomies
    00:00:00
  • Creating custom texonomies labels
    00:00:00
  • Customizing the taxonomies setting
    00:00:00
  • Importing and exporting your data
    00:00:00

Coding Your Own Custom Post Types

  • Creating your plugin
    00:00:00
  • Building a basic custom post type
    00:00:00
  • Customizing your post types label
    00:00:00
  • Customizing your post types setting
    00:00:00
  • Activating the rest API on your post type
    00:00:00
  • Creating a post with your post type
    00:00:00
  • Challenge Create an events post type
    00:00:00
  • Solution create an events post types
    00:00:00
  • Extending post types with custom fields
    00:00:00

Coading Your Own Custom Taxonomies

  • Building a basic custom taxonomy
    00:00:00
  • Creating an advanced custom taxonomy
    00:00:00
  • Activating the rest API for your texonomy
    00:00:00
  • Adding texonomy terms to your post types
    00:00:00
  • Challenge make location taxonomy
    00:00:00
  • Solution make location taxonomy
    00:00:00

Creating Costum Post Types Templates

  • The WordPress templates hierarchy
    00:00:00
  • Setting up your child theme
    00:00:00
  • Creating a single custom post templates
    00:00:00
  • Modifying the single template header
    00:00:00
  • Creating a custom post archive template
    00:00:00
  • Adding a custom taxonomy to a template
    00:00:00
  • Creating a custom taxonomy templates
    00:00:00

Custom Post Types and Texonomies i other Templates

  • Custom post types on the front page
    00:00:00
  • Organizing your child theme
    00:00:00
  • Creating a custom loop for post types
    00:00:00
  • Displying the custom loop
    00:00:00
  • Styling your custom loop
    00:00:00

Moving Your Post Types To Your Theme

  • Warning Custom post types in themes
    00:00:00
  • Adding Custom post typesto theme
    00:00:00
  • Automatically flushing rewrite riles
    00:00:00

Conclusion

  • Next steps
    00:00:00
WebatSite
Not Allowed