The New Post Form

The New Post Form

The New Post Form form enables users to add new posts to a custom or WordPress standard post type from the front end of a WordPress website, without needing to interact with the WordPress dashboard.

Important: By default a user needs to be logged in and carry the “administrator” role to add a post. This can be changed, however, in the Permissions settings of this form.

Adding the Form

In your WordPress dashboard, hover over “Frontend Admin for ACF” on the top bar and click “Create Form”.

Select “New Post Form” in the form type dropdown, give the form a title, and click “Create Form”.

At this point, you already have a functioning form that you can place anywhere using either the shortcode [frontend_admin form=”{{formID}}”] or the Gutenberg block. You may also simply publish the form and refer users to the form’s public URL seen under the form title:

In any case, you might also want to configure some settings based on your specific use case. Let’s take a look at the available settings.

Fields

This section defines the fields which are shown within the form itself.  This is where you actually define what data the end-user can access.

Default Fields
By default, the form will have the Title, Content, Excerpt, Featured Image, and Status fields activated. These can be customized to whatever fits your needs.

Adding and Removing Fields
To add more fields simply click the Add Field button. Fields can be deleted by hovering over the field and clicking the “Delete”.

ACF Fields
You can add ACF fields by clicking Add Field and changing the field type of the new field to “ACF Fields” and then selecting the desired fields or groups.

Basic Field Settings

The Field Type defines the type of field being edited. Changing this will affect other available options. 

All the field types have options that can be changed to customize both the content and the style of the field. 

  • Label – This is shown above the field’s text box. This can be toggled to be displayed or hidden according to your needs.
  • Instruction – This is shown in the smaller text under the Label.
  • Required – Indicates whether or not the field can be left blank.
  • Display Mode – Here you can either show the editable field, show just the value of the field, or hide the field altogether. Hiding the field can be useful if you want to pass default data that the end-user shouldn’t change.

Default Fields

Post Title

The Title field is a simple text input. We have the standard Label, Instructions, etc. Additionally, there is an option for adding Placeholder text, indicating what type of content is expected from the user.

Content

The Content field is a text area. You can customize the text area type, it can be a simple Text Area or a Text Editor with more advanced options for the end-user.

Featured Image

This allows your users to add a featured image to the post. In addition to the basic attributes, you can add a default image if you wish.

Post Status

This will the user to decide what the post should have. You can choose to show any Post Status that exists in your site.

Post

Here you can specify the post type created by the form. It can be a Post, a Page, or any custom post type you might have created.


Final Result

At any point, you can preview your form. You may choose to show the form page to the public, keep it private for internal use, or you may set it to be password protected.

That’s it! You now have your very own New Post Form. Your live form should look something like this:

The end-user can now easily create posts with custom post types, add a featured image, and select the Category, all without touching the backend WordPress dashboard.

The New Post Form

Still stuck? 
Contact our support team here.