Contents
Overview of Custom Taxonomy Creator
WCK Custom Taxonomy Creator allows you to easily create and edit Custom Taxonomies for WordPress without any programming knowledge. It provides an UI for most of the arguments of register_taxonomy() function.
Features of Custom Taxonomy Creator
-
- Create and edit Custom Taxonomies from the Admin UI
-
- Advanced Labeling Options
-
- Attach the taxonomies to built in or custom post types
Listing the taxonomies in the frontend
If you want to have a custom list in your theme, then you can pass the taxonomy name into the the_terms() function in the Loop, like so:
1 | the_terms( $post->ID, 'meeting', 'Meeting: ', ', ', ' ' ); |
That displays the list of Genres attached to each post.
Querying by taxonomy
Creating a taxonomy generally automatically creates a special query variable using WP_Query() class, which we can use to retrieve posts based on. For example, to pull a list of posts that have “Monthly” as a “meeting” taxonomy in them, we will use: