With WCK Taxonomy Creator you can create and edit custom taxonomies and attach them to post types.
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.
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: 4 years ago
Active Installs: 300+
Got something to say? Need help?