Want to create a custom post type in WordPress but have no coding skills? No worries. You can do so with JetEngine. What is JetEngine?
JetEngine is an Elementor add-on that allows you to work with dynamic content. It allows you to create a custom post type in WordPress for a certain need. Before getting started, you might be wondering, what is a custom post type and why you need it?
There are several different content types in WordPress and they are normally described as Post Types. Each Post Type is displayed by a different template file. By default, there are 5 Post Types in WordPress:
- Post (Post Type: ‘post’)
- Page (Post Type: ‘page’)
- Attachment (Post Type: ‘attachment’)
- Revision (Post Type: ‘revision’)
- Navigation menu (Post Type: ‘nav_menu_item)
You can visit this page to learn more about Post Type in WordPress.
You can create a custom Post Type if you want to display a certain content type with a custom template. For instance, you can create a Trip Post Type to display the trip plans on a travel agency website. With JetEngine, you can then further process the custom post types such as displaying them on a listing page or anything according to what you want to accomplish.
How to create a custom Post Type with JetEngine
After installing and activating the JetEngine plugin (you can download JetEngine on its official website) you will see a new menu item on the sidebar of the WordPress dashboard called JetEngine. Hover your mouse over it and select Post Types.
Click the Add New button on the top side. On the next page, give your new Post Type a name on the General Settings block. You can also set the slug.
Next, open the Labels block. From this block, you can set the labels for your new Post Type. A label is a text you will see on the WordPress dashboard for a certain action. For instance, if you type “New Trip” on the Add New label, you will see a New Trip text every time you want to add a new custom post.
By default, each label is set to your custom Post Type name and you can change it to your liking.
Once done filling in the fields on the Labels block, open the Advanced Settings block. In this block, you can set things like a Dashicon, display the post types using hierarchy, make an archive, and so on.
Next, open the Meta fields block. In this block, you can add custom meta fields according to what you want to accomplish. For instance, if the custom Post Type you are creating is intended for trip posts, you can add custom meta fields like Title, Date, Price, Image, Gallery, and Number of Persons. The meta fields you will be displayed beneath the WordPress editor.
Meta fields are crucial if you want to create a listing page with Elementor+JetEngine or other page types that deal with dynamic content. There are 16 meta fields you can add. To add one, click the New Meta Field button.
Once done, you can click the Add Post Type button.
If there are meta fields or settings you missed during the custom Post Type creation, you can edit the custom Post Type you created. To do so, go to JetEngine -> Post Types. Click the Edit link on the Post Type you want to edit.
Once you have done with all of the steps above, you should see a new menu item on your WordPress dashboard. You can go to this menu to add a new item/custom post under the custom Post Type you have just created.
After adding a new post on the new custom Post Type you have just created, chances are you will find the page (the page of the post you have just added) doesn’t exist (you will be directed to the 404 page). If this error happens, you can change the permalink setting (Settings -> Permalinks). No, you don’t need to change the current permalink setting. You can temporarily change the permalink setting and revert it back to the previous permalink setting.
This error usually happens because although you have registered your new post type WordPress doesn’t know how to handle it yet.