Meta Boxes Overview
From this tutorial, you will find out how to create meta boxes with meta fields and apply them to the posts, terms, or users using the JetEngine plugin.
Visibility Conditions
With the Visibility Conditions, you can show or hide meta boxes, depending on user role or taxonomy terms.
We have a dedicated guide about this option; you can check it out here.
Meta Fields
Finally, you can add the Meta Fields to the box. There are no limitations on the number of meta fields in one meta box. You can add as many of them as you want by clicking the “New Meta Field” button. Any of the Meta Fields can be edited, duplicated, and deleted. Besides that, you can change the position of the field in a list by simply dragging it with the pointer.
You can find more detailed information about available options in the meta field’s settings from this tutorial.
When you are done, click the “Add Meta Box” button to save progress.
First, open the WordPress Dashboard and proceed to the JetEngine > Meta Boxes block. Click the “Add New” button at the top of the page.
General Settings
- Meta Box Title. This is the name of the meta box that will be shown in the meta boxes table and in every post, taxonomy, or user profile it is attached to;
- Meta Box for. Here you can select the content type that this meta box will be assigned to. The Post option refers to both default Posts and Custom Post Types you created with the help of JetEngine functionalities. If you choose Taxonomy, it will become possible to assign the meta box to the default WordPress Terms and Custom Taxonomies you created for the CPTs. The User option will link the meta box with the Users’ accounts. The further settings that will appear in this block depending on what you have chosen in this option;
- ‘Edit meta box’ link. If you turn this toggle on, it will add a cog-shaped edit button to the post customization page in the dashboard. Click on that button to open the meta box editing page.
That’s all. You see how easy it is to add a meta box that groups the meta fields together.