How to group the custom meta fields for the certain post types into meta boxes

From this tutorial, you will find out how to group the custom meta fields for certain post types into meta boxes using great dynamic plugin – JetEngine.

JetEngine is a perfect addon for Elementor page builder, which provides a lot of tools for displaying dynamic content in Elementor.

So, in case you’re using this page builder, you will be able to create custom post types, taxonomies, add meta boxes, and versatile meta fields and then display them on page templates built with Elementor.

Setting meta fields for specific post types

Step 1 — First, open the WordPress Dashboard and proceed to the JetEngine > Meta Boxes block.

Step 2 — After that, click the Add New button at the top of a page.

Step 3 — Provide a new meta box with the title and apply it for the post type in the Meta box for dropdown.

Step 4 — Then, a new field called Post types will appear. There you will be able to apply meta fields for multiple post types (E.g. Posts or Pages, or your custom post type).

Step 5 — In case you don’t want to apply the meta box for all posts types you can specify the title of the publication of the specific post type in the Specific Posts field.

Step 6 — Then, click the New Meta Field button to add meta field to the certain post type.

Step 7 — Provide a title and an ID for it and set its type (e.g., you can create the Media post type).

You can add as many meta fields as you need.

Step 8 — Finally, click the Add Meta Box button to save the progress.

In order to check how the meta fields work, open the specific post type in the Dashboard.

That’s all. You see how easy it is to add a meta box, that groups the meta fields together.