Stand with Ukraine. Fight for freedom and democracy

Donate
Back to contents

JetEngine: How to Create a Custom Taxonomy

Categorize the posts easily with JetEngine custom taxonomy. From this tutorial you’ll find out how to do it correctly.

JetEngine plugin has a lot of advantages and one of them is that you can categorize the posts in special terms. If there are a dozen posts, and some of them refer to one topic, you can create a taxonomy to unite them.

The difference between Taxonomies and Terms

First, let’s clear up what the Taxonomies and Terms are.

  • Taxonomies allow categorizing the Posts Types according to any classification characteristics.
  • Terms are items inside the Taxonomies, which add additional classification attributes, thus building a hierarchical order within a certain Taxonomy.

For example, if there will be “Countries” taxonomy, the “USA” and “France” will be terms within it.

Creating a new custom taxonomy

Let’s find out how to add a new custom taxonomy with JetEngine. You can see the JetEngine block in the side panel of the Dashboard.

JetEngine taxonomies

Open the Taxonomies tab and then click the “Add new” button to proceed and create a new taxonomy. The process is very similar to creating a custom post type. There are the same blocks: General Information, Labels, Settings, and Meta Fields.

1 Step — Fill in the fields with information

In General Settings there are such fields as:

  • Taxonomy Name — set the name of the taxonomy, for example, Projects or Portfolio, it depends on what post type this taxonomy is created.
  • Taxonomy Slug — it will be automatically fulfilled.
  • Post Type — from the list, choose an item for which the taxonomy will be created.
General settings

In the General block, you need to fill all the fields. Pay attention to a Post Type field, because this taxonomy will be applied only to selected ones.

2 Step — Fill the Labels Block

Here you can set the Labels to use instead of the default titles. For example, instead of “Add New Item” you can choose to set “Add New Category”. Labels will be visible only to you but they can make navigation a little easier.

Labels

3 Step — Advanced Setting Block

This block allows you to set the displaying mode of the taxonomy. Just decide if you want it to be public or to be shown in Admin Menu, etc.

Advanced settings

4 Step — Meta Fields Block

Use them to display any extra information for the taxonomy, such as media, radio options, repeaters, etc. You can customize the width of the fields as well to make them occupy less space and arrange them side by side.

For example, you can create such Meta fields as Price, Location, Date, etc.
By adding the Meta Fields it is possible to fulfill the taxonomy with much more information and then display it through the Listing Grid.

Field Type

For example, here’s how the Radio Meta field can be used to create an Options List within the taxonomy.

taxonomy-meta-fields

Having finished all these steps, scroll up and click Add Taxonomy if it is the new one or Update Button in case you are editing the existed taxonomy.
As we have created taxonomy only for Portfolio, it appears here. In our case, each portfolio item will have a specific location term that unites the portfolios made in one location.

portfolio JetEngine

5 Step — Add New Category

After the taxonomy is saved, you need to specify New Term, in our case we need to add a new Location for the Portfolio.

Next, think up a name and a slug, choose a category and then click the “Add new category” button. On the right side, there is a list of the terms.

Adiing new category

6 Step — Edit Custom Post

In the Portfolio > All Posts assign it to the term that suits it (the one you’ve just created).

Here is what we can have in the end.

child category JetEngine

Click the “Update” button to save the changes.

So, here we are. Hope, this tutorial will be useful.