A Cozmoslabs Product
Documentation / Custom Taxonomy Creator

Custom Taxonomy Creator

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.

WordPress Creation Kit - Custom Taxonomy Creator - Overview

Features of Custom Taxonomy Creator

    1. Create and edit Custom Taxonomies from the Admin UI

WordPress Creation Kit - Custom Taxonomy Creator - Features

    1. Advanced Labeling Options

WordPress Creation Kit - Custom Taxonomy Creator - Labels

    1. Attach the taxonomies to built in or custom post types

WordPress Creation Kit - Custom Taxonomy Creator - Options

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:

1
2
3
4
5
6
7
8
9
10
11
$args = array(
	'post_type' => 'post',
	'tax_query' => array(
		array(
			'taxonomy' => 'meeting',
			'field'    => 'slug',
			'terms'    => 'monthly',
		),
	),
);
$query = new WP_Query( $args );

The Ultimate Membership Bundle

Combine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.

Get 25% off with the bundle

Help & Support

We’re here to help you every step of the way.

Open a Support Ticket