Skip to main content

Creating ACF fields

An ACF field can be created inside your ACF Field Group by clicking the “Add Field” button.

Three required inputs fields that should be specified by you/developer are Field Label, Field Name and Field Type.

  • Field Label - should be a relevant label for the field. This will appear for CMS user above the field input, so the label should indicate what is the purpose of this particular ACF field.

  • Field Name - will be automatically generated according to the Field Label you set. Example: if Field Lable is - Text, Field Name will be text, but if Field Label is - Add Button, Field Name will be add_button. Note: You can rewrite Field Name to your own like, but keep in mind that you will be targeting ACF fields in front end code by field names that are generated or your customised Field Name.

  • Field Type - developer should choose it according to its purpose. The list of types is long starting from the plain text field to true/false, file or image type, relationship type and more. For each field type you will have different additional input fields and choices for specifications that you might need (for example: required - yes/no or conditional logic - yes/no, default etc).