1. Home
  2. Knowledge Base
  3. WooCommerce Product Table
  4. Advanced Usage

How to create custom taxonomies

Our WooCommerce Product Table and Posts Table Pro plugins fully support custom taxonomies. Once you've created a custom taxonomy, you can list them on your website using either WooCommerce Product Table (for WooCommerce products) or Posts Table Pro (for any other WordPress content type). You can use these plugins to list your taxonomy terms as columns in a table, and in filter dropdowns. You can also create tables listing products/post with a specific taxonomy term.

How to create custom taxonomies - for developers

This article from Tuts+ contains instructions for developers on creating custom taxonomies. The WordPress Codex on Taxonomies also contains comprehensive information and instructions.

How to create custom taxonomies - non-developers

You can also create custom taxonomies quite easily using Custom Post Type UI or Pods. Both of these free plugins let you create a taxonomy and assign it to a post type (e.g. WooCommerce products or any other post type).

Once you have created a custom taxonomy, this will appear on the Add/Edit screen for your products or posts, with a tick box for each taxonomy term. You can add your products to one or more taxonomy term in exactly the same way as adding categories.

The following tutorial explains how to create WooCommerce custom taxonomies with the Custom Post Type UI plugin. These instructions work equally for adding taxonomies to other post types. If you need to create post types and custom fields as well as taxonomies then you might be better off with the Pods plugin instead, which we have written a tutorial about here.

How to display custom taxonomies in a WooCommerce product table

Please see the articles on columns and filters for instructions on showing taxonomies in your product tables.

Please note that WooCommerce Product Table only lets you display custom taxonomy terms in a product table, and doesn't add them to the single product page.

How to display taxonomies in a table for other WordPress post types

Please see the articles on columns and filters for instructions on showing taxonomies using the Posts Table Pro plugin.

Please note that Posts Table Pro only lets you display custom taxonomy terms in a table, and doesn't add them to the single post page.

How to categorize pages for Posts Table Pro

If you're using Posts Table Pro to list pages, then you can create page categories by creating a custom taxonomy and calling it 'Page categories' or similar. You can do this using the methods mentioned above to create a custom taxonomy. Alternative, you might find it easier to use a free WordPress plugin such as Add Category to Pages or Category Tag Pages.

Once you have done this, you can use the options in Posts Table Pro to display the page categories as a taxonomy column, or as a filter dropdown. You can also use the term option to list pages from a specific category only.

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.