Plugin Directory

CPT-onomies: Using Custom Post Types as Taxonomies

Use your custom post types as taxonomies and create relationships between your posts, just as you would create taxonomy relationships.

CPT-onomies is a WordPress plugin that allows you to create relationships between your posts by using your custom post type post titles as taxonomy terms. CPT-onomies work like regular WordPress taxonomies and share the same taxonomy functions, like get_terms() and wp_get_object_terms().

CPT-onomies includes a custom post type manager, allowing you to create custom post types and register CPT-onomies without touching one line of code!

If you're already using a plugin, or theme, that creates custom post types, don't worry, CPT-onomies is all-inclusive. Any registered custom post type can be used as a CPT-onomy.

What Is A CPT-onomy?

A CPT-onomy is a taxonomy built of custom post type post titles. "Attach" your CPT-onomy to other post types and create relationships between your posts, just as you would create taxonomy relationships.

Is CPT-onomy An Official WordPress Term?

No. It's just a fun word I made up.

Need Custom Post Types But Not (Necessarily) CPT-onomies?

CPT-onomies offers an extensive custom post type manager, allowing you to create and completely customize your custom post types within the admin.

Why CPT-onomies?

It doesn't take long to figure out that custom post types can be a pretty powerful tool for creating and managing numerous types of content. For example, you might use the custom post types "Movies" and "Actors" to build a movie database but what if you wanted to group your "movies" by its "actors"? You could create a custom "actors" taxonomy but then you would have to manage your list of actors in two places: your "actors" custom post type and your "actors" taxonomy. This can be a pretty big hassle, especially if you have an extensive custom post type.

This is where CPT-onomies steps in. Register your custom post type as a CPT-onomy and CPT-onomies will build your taxonomy for you, using your post type's post titles as the terms. Pretty cool, huh?

Using CPT-onomies

What's really great about CPT-onomies is that they work just like any other taxonomy, allowing you to use WordPress taxonomy functions, like get_terms(), get_the_terms() and wp_get_object_terms(), to access the CPT-onomy information you need. CPT-onomies even includes a tag cloud widget for your sidebar.

CPT-onomies even work with tax queries when using The Loop.

Note: Unfortunately, not every taxonomy function can be used at this time. Check out the CPT-onomy documentation to see which WordPress taxonomy functions work and when you'll need to access the plugin's CPT-onomy functions.

Requires: 3.1 or higher
Compatible up to: 3.3.2
Last Updated: 2012-3-18
Downloads: 1,463

Average Rating

5 stars
(6 ratings)

Support

0 of 2 support threads in the last three weeks have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

0,1,0
100,2,2 100,3,3 100,2,2