Help Center
How to Insert and Edit Custom Content Type Posts via Form

How to Insert and Edit Custom Content Type Posts via Form

Find out how to create and edit JetEngine Custom Content Type items via a WordPress front-end form.

Before you start, check the tutorial requirements:

  • Elementor (Free version), Block editor (Gutenberg), or Bricks

  • JetEngine plugin installed and activated with the Custom Content Types module enabled

  • JetFormBuilder plugin installed and activated

Add Custom Content Type

Let’s begin by creating a Custom Content Item (CCT). Head to WordPress Dashboard > JetEngine > Custom Content Types > Add New. Create a CCT with all the fields you need. 

To get the description of all CCT options, proceed to the Custom Content Type (CCT) Overview.

For instance, we create a “Some Info” CCT with three meta fields: “Name,” “Address,” and “Message.” 

When the “Add Content Type” button is clicked, the Forms section will appear on the right panel with the “Create new form” button. 

Create custom content type

Generate the Form

After clicking the “Create new form” button, the JetFormBuilder form will be created automatically with all the form fields corresponding to the CCT‘s meta fields.

JetFormBuilder CCT form

Edit CCT Status or Fields Mapping

If you open the JetForm tab on the right panel of the form editor, you will see that the “Insert/Update Custom Content Type Item” post-submit action has been added automatically, with the fields already mapped to the corresponding CCT’s meta fields. 

You can edit field mapping, CCT status, and the fallback values for the meta fields by hovering on the “Insert/Update Custom Content Type Item” post-submit action and clicking on the “pencil” icon. 

edit post-submit action

The popup with all the settings will appear. 

Adjust them if needed and press the “Update” button.

CCT editor in form

You can add more post-submit actions if needed by clicking on the “+New Action” button on the right panel of the form editor. 

Press the “Save” button to save the form.

Insert the Form Into Website Pages

Go to WordPress Dashboard > Pages > Add New, or use an existing page. There, add a form using the JetForm widget for Elementor or Bricks

Select the form from the list in the Form Settings section. Then, add styling for the form fields, if required, by proceeding to the Styling tab. 

To save changes, click “Publish.”

Insert JetFormBuilder form

If you use Block Editor, Divi, or other form builders except Elementor and Bricks, you can insert the form using a shortcode and use a free JetStyleManager plugin for styling

Check the result on the front end, fill in the form fields, and click “Submit.” 

front-end form

Then, proceed to the WordPress Dashboard > Your CCT name, and you will see the new CCT item added with the fields filled in the form. 

CCT item front end

That’s it; now you know how to insert and edit JetEngine Custom Content Types items from the WordPress front end. 

Was this article helpful?
YesNo

Need help?

Ask Facebook community

Get answers from 22K Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.