Associate Taxonomy with Custom Post Type

Explains how to connect Taxonomy to Custom Post Types.

Whenever you create a Custom Post Type, you’ll need to associate it to a Taxonomy for organization. And when you create a Custom Taxonomy, you’ll need to associate it with a Post Type, otherwise it will have nothing to classify. Here are some examples:

  • A Books post type needs to be associated with Genre and Author taxonomies
  • A Products post type needs to be associated with Brand and Size taxonomies
  • A Real Estate Listings post type needs to be associated with a Region taxonomy
  • A Vehicle post type needs to be associate with a Manufacturer taxonomy

You can also associate Custom Taxonomies with the default WordPress Post Types. You may wish to have additional taxonomies for organizing your Pages or Posts, for example.

And you can also associate Custom Post Types with the default WordPress Taxonomies, categories and tags.

Associating a Custom Post Type with a Taxonomy is done either through the Custom Post Type admin screen, or the Custom Taxonomy admin screen.

Through the Custom Post Type Admin Screen

Navigate to Pods Admin and click on the Post Type you wish to associate with a Taxonomy.

a screenshot of the Pods edit screen. The cursor hovers over the Books Custom Post Type

Click on the Advanced Options tab.

Admin tabs: Advanced Options

Scroll down to Built-in Taxonomies and select the Taxonomies you wish to associate with the Post Type.

a screenshot of the built-in taxonomies options. The custom taxonomy genre is selected

When you’re happy click Save Pod.

Through the Custom Taxonomy Admin Screen

Navigate to Pods Admin and click on the Taxonomy you wish to associate with a Post Type.

a screenshot of the Pods edit screen. The cursor hovers over the genres custom taxonomy

Click on the Advanced Options tab.

Tax tabs: Advanced Options

Scroll down to Associated Post Types and select the Post Types you wish to associate with the Taxonomy.

a screenshot of the associated post type options. The custom post type books is selected

When you’re happy click Save Pod.

Whichever method you chose, the Taxonomy will now be associated with the Post Type and appear nested in its menu.

a screenshot of the Books menu. Genres appears as a sub-menu