Back to contents

JetEngine: How to Create Extra Custom Taxonomy with Additional Meta Fields and Apply It to the Post

With JetEngine plugin, you can categorize the posts and set additional meta fields. Let’s find out how to create a new custom taxonomy to add terms for the needed post type.

Before we start creating additional taxonomies with JetEngine plugin, let’s explore what is the core of the taxonomy and why we should use it.

Basically, the aim of creating taxonomies for the posts is sorting and categorizing posts in special terms. So, if you have some posts and have decided to group them in one topic, and these posts have common features – you can create a taxonomy that will unite these posts.

Adding a taxonomy with JetEngine

1 Step — Navigate to the JetEngine > Taxonomies on your WordPress Dashboard.

2 Step — You’ll see the Custom Taxonomy List screen where you should click Add New button.

Taxonomies on your WordPress Dashboard

3 Step — Fill in the fields dedicated to the title, slug of the taxonomy. Specify for which post type you want it to be set. Edit labels, toggle to “YES” the needed settings.

4 Step — Make sure to enable Show in Rest API option to ensure that the terms will be available to set from the Gutenberg editor interface.

Settings block

5 Step — Toggle to “Yes” Hierarchical option to make sure you can add the parent and child terms. In case you won’t toggle this option, the terms won’t have a hierarchy and will be resembling the default tags.

Two ways of Adding Meta Fields

Way 1 – Meta Fields on the Spot

1 Step — Go to the Meta Fields block and create as many meta fields for this certain taxonomy type as you want.

2 Step — Give your meta field a name in the Label field.

3 Step — Assign an ID to your meta field in the following field.

4 Step — Select the type of the meta field which can be a regular field, a tab, an accordion or an endpoint.

5 Step — If your meta field type is a regular field, you have to specify the field type. It can be text, date, time, datetime, gallery, colorpicker etc.

6 Step — Give your meta field a description in the respective field and specify its width in the Field width drop down.

7 Step — Determine the max field value length in the Character limit field.

8 Step — If needed, type in the default value in the Default Value field.

9 Step — In case you want to make your field a required one, toggle the corresponding option to Yes.

add more terms to the taxonomy

Way 2 — Meta Field via the Meta Box

1 Step — Go to JetEngine > MetaBoxes and click the Add New button.

2 Step — Give your meta box a name in the Meta Box Title field and select the Taxonomy option in the Meta Box for drop down.

3 Step — Specify the taxonomies this meta box will be applied to in the Enable For Taxonomies field.

4 Step — Proceed to the Meta Fields block and repeat all the actions from Way 1.

Adding terms to the taxonomy

There are 2 ways to add items to the taxonomy: manually or via the default post editor. Let’s explore all of them.

1 Step — Navigate to your custom post type (in my case it’s Portfolio) and click on the taxonomy title.

Adding terms to the taxonomy

Here you can see a screen where you can manually add the items to the taxonomy. Set the name, slug, select the parent term if needed, and type in the description. Also, you will see the meta fields which you have added.

add the items to the taxonomy

2 Step — Click Add New Category/Term when everything is complete.

3 Step — Repeat previous steps in order to add more terms to the taxonomy.

add more terms to the taxonomy

4 Step — Now you can navigate to the list of the posts of your custom post type and open one of them. Here, on the right, there is a box where you can specify a new term. You can see the terms you have created manually, but also here you can click Add New Category and build a tree of terms.

Add New Category

5 Step — Click Update to save the changes.