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 any plugin that lets you create custom taxonomies. We recommend the free Easy Post Types and Fields plugin, which is designed to work perfectly with our table plugins:
- Install the plugin and skip the setup wizard.
- Go to Post Types → Manage and click on the 'Other Post Types' tab.
- Select the 'Custom Taxonomies' button for the post type that you want to add a taxonomy to (e.g. 'Products' if you're using WooCommerce Product Table, or any other post type if you're using Posts Table Pro).
- Follow the onscreen instructions to create the taxonomy. Select the 'Hierarchical' option if you want to created nested multi-level taxonomy terms similar to categories and sub-categories for WordPress posts; or keep this disabled if you want a single-level taxonomy similar to post tags.
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.
For a full walk-through, see this video which covers the process of creating new post types, custom fields and taxonomies:
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.