Recall & Review
beginner
What is a custom taxonomy in WordPress?
A custom taxonomy is a way to group content in WordPress beyond the default categories and tags. It helps organize posts or custom post types with your own labels.
Click to reveal answer
beginner
Which WordPress function is used to register a custom taxonomy?
The function
register_taxonomy() is used to create a new custom taxonomy in WordPress.Click to reveal answer
intermediate
What are the two main types of taxonomies in WordPress?
The two main types are hierarchical (like categories) and non-hierarchical (like tags). Hierarchical taxonomies allow parent-child relationships, non-hierarchical do not.
Click to reveal answer
intermediate
How do you link a custom taxonomy to a custom post type?
When registering the taxonomy with
register_taxonomy(), you specify the post type(s) it applies to in the second argument as a string or array.Click to reveal answer
beginner
Why use custom taxonomies instead of just categories or tags?
Custom taxonomies let you organize content in ways that fit your site’s needs better. They provide more meaningful grouping and improve content discovery.Click to reveal answer
Which function registers a custom taxonomy in WordPress?
✗ Incorrect
The correct function to register a custom taxonomy is register_taxonomy().
What type of taxonomy allows parent and child terms?
✗ Incorrect
Hierarchical taxonomies allow parent-child relationships between terms.
How do you assign a custom taxonomy to a post type?
✗ Incorrect
You assign a taxonomy to a post type by specifying the post type(s) in the register_taxonomy() function.
Which of these is NOT a default WordPress taxonomy?
✗ Incorrect
Genre is not a default taxonomy; it is often created as a custom taxonomy.
Why create a custom taxonomy?
✗ Incorrect
Custom taxonomies help organize content better according to your site’s needs.
Explain what a custom taxonomy is and how it differs from default WordPress taxonomies.
Think about grouping content in new ways.
You got /3 concepts.
Describe the steps to register a custom taxonomy and link it to a custom post type.
Focus on the function and its arguments.
You got /3 concepts.