Out-of-the-box, WordPress gives you built-in taxonomies which are used to group like or similar content together. You use categories and tags to add contextual information about the content and give readers additional mechanisms to explore and discover. In this hands-on lab, you will interact with and change the built-in taxonomies. This is an introduction to taxonomies, which will prepare you for building your own custom taxonomies.
What Will You Learn?
In this lab, you will learn about WordPress taxonomies, terms, and the relationship to post types. You’ll learn what they are, where they are stored in the database, hierarchy, how to assign them to different post types, and more. You’ll explore the different built-in functions to interact with them.
Prerequisites
In order to do this lab, you will need a local sandbox site spun up and ready to go. See this Help Center article to get your sandbox ready.
Your best friend is code, Tonya is making the introductions.
Episodes
Total Lab Runtime: 01:17:16
- 1 Lab Introductionfree 02:17
- 2 What is a Taxonomy?free 10:12
- 3 What are Terms?free 08:53
- 4 Relationship Between Post, Taxonomy, & Termspro 14:22
- 5 Get the Registered Taxonomiespro 15:35
- 6 Dive into WordPress Corepro 03:17
- 7 Get the Terms for a Taxonomypro 08:19
- 8 Get the Taxonomies for a Post Typepro 02:50
- 9 Archive for Taxonomy or Termpro 04:14
- 10 Explore Other Functionspro 07:17