WordPress.org

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Custom Taxonomy Creator

With WCK Taxonomy Creator you can create and edit custom taxonomies and attach them to post types.

How do I list 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:

<?php the_terms( $post->ID, 'people', 'People: ', ', ', ' ' ); ?>

That displays the list of People attached to each post.

How do I query by taxonomy in the frontend?

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 “Bob” as a “person” taxomony in them, we will use:

<?php $query = new WP_Query( array( 'person' => 'bob' ) ); ?>

Requires: 3.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-5-9
Active Installs: 500+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

67,3,2
100,1,1
50,2,1
0,1,0
100,1,1