How to Install and Configure Advanced Custom Fields WordPress Plugin
By Adarsh Sojitra on October 11th, 2021
Advanced Custom Fields Plugin is one of the most popular custom field plugins for WordPress. The plugin provides an advanced user interface for adding custom fields to WordPress. Its main advantage is that Advanced Custom Fields has over 20 different presets for custom fields built-in. Thus, you can easily create custom fields. It provides an easy and simple interface that helps beginners to understand the options easily.
The plugin also lets you define rules to determine where they will show up inside the WordPress, admin post editor. There will be various field extensions that add even more functionality. The extensions are mentioned below,
- Advanced Custom Fields: Nav Menu Field — You can add a field for setting custom menus for posts and pages.
- ACF: Sidebar Selector — It allows the selection of a registered WordPress sidebar.
Moreover, You will have other premium solutions, which are mentioned below,
- Repeater Field — It allows users to create complex layouts with any number of fields.
- Gallery Field — it provides an interface for managing a collection of images.
- Options Page — You can create a custom options page for the WordPress dashboard, suitable for collecting site-wide data.
- Flexible Content — It allows you to set up multiple layouts with several fields that can be used in any order on the page.
Custom fields allow you to add customized information to posts, pages and build tailored solutions for content creation on different websites. Advanced Custom fields plugin provides various presets. The presets include:
- Text – You can enter a single-line text field with optional HTML support and character limit
- Textarea – it is the same as Text but with multiple lines.
- Number – Number field that can have optional min/max values
- Email – It provides the custom field for email input, including validation
- Select – You will have a drop-down menu with support for multiple selections
- Password – Password input with text masking
- WYSIWYG Editor – WordPress editor input with options for media insertion and editor buttons
- Image – You can upload an image or select one from the media library. Returns an object, URL, or ID.
- Checkbox – It provides a checkbox field for single or multiple items
- Radio Button – You can pick a single item via the radio button
- Page Link – Returns the URL of any post or page. It can be limited to specific post types.
- Post Object – Returns a WordPress object of any post or page, post type, or taxonomy
- Relationship – It is the same as post object but with an advanced interface and reordering via drag and drop
- Taxonomy – Returns an object or ID for one or more taxonomies. It can be limited to tags, categories, or custom taxonomy terms.
- User – You can select one or more users. It has the option to limit choice by user role.
- Google Map – Also, you will be able to set a center, zoom level, and width
- Date Picker – it allows you to select a calendar date and return a formatted date string.
- Color Picker – Select a hexadecimal color.
- Tab – You can combine fields into a tabbed interface
Using this plugin’s tools, you can easily import and export the data. Recently, the plugin has added new fields to embed the content. Also, New field group functionality allows you to move a field between groups & parents. So, let’s discuss the basic features of this plugin in brief,
- The plugin allows you to add fields all over WP, including posts, users, taxonomy terms, media, comments, and even custom options pages.
- Additionally, you can easily load and display your custom field values in any theme template file with hassle-free developer-friendly functionalities.
- You will also have 30 field types to customize the fields.
- The gallery field provides a simple and intuitive interface for managing a collection of images. Thus, you can add multiple images, edit them and sort them easily.
- The clone field allows you to reuse existing fields and field groups. However, this feature is accessible in the pro version.
- ACF blocks are highly customizable and dynamic. They integrate deeply with custom fields allowing PHP developers to create bespoke solutions with WordPress theme development.
- Moreover, The repeater field allows you to create a set of subfields that can be repeated.
- Also, the pro version provides ACF block, repeater fields, gallery fields, and clone fields.
Advanced Custom Fields plugin offers three paid plans – Personal, Freelancer, and Agency. The Personal plan costs around $49 per year and offers a license for a single site. This plan consists of all premium features and unlimited updates for one year. The Freelancer plan retails for $149 per year and offers a license for ten sites. Also, the Agency plan costs $249 per year and gives licenses for unlimited sites.
So basically, WordPress Advanced Custom Fields makes extending your content easily just like filling the forms along with custom metadata. It also gives you complete control over settings and configurations. Thus, it’s easy to understand how it is used in the WordPress admin area. We have also explained the detailed post on how to add custom fields using this plugin with examples. You can simply follow the step-by-step procedure to add the custom fields on your site.
Install and Activate Advanced Custom Fields WordPress Plugin
The installation process is very easy. You can just follow the simple steps mentioned below to install and activate the plugin.
Step 1: First, you need to log in to the WordPress admin dashboard.
Step 2: Now, you will see the option “Plugins” on the left-hand side panel of the WordPress dashboard. Click on “Plugins,” then select “Add New.”
Step 3: You will see a search bar on the top right-hand side corner of the dashboard. Then search “Advanced Custom Fields Plugin”.
Step 4: Now, you need to click on “Install Now.”
Step 5: After installation, you need to activate the Advanced Custom Fields Plugin in order to use it on your site. Now, click on “Activate.”
Now you have successfully installed and activated the plugin. You can start creating custom fields for posts or pages.
How to Add Custom Fields Using Advanced Custom Fields Plugin
After activating the plugin on your site, you can start using this plugin on your site. You can add fields by configuring a few settings. We have explained step by step guide below on how to use this plugin,
Step 1: First, go to “Custom Fields” on the left-hand side panel of the dashboard. Then in order to create new custom fields, select “Add New.”
Step 2: Now, you will need to add the title of the field group. After that, you can start moderating the other field settings.
Step 3: After adding the title, you can start adding the field by clicking on “Add fields.” Each field are used for,
- Field Label — The name that appears inside the advanced custom fields menu
- Field Name — Name used inside templates and code. It should automatically be populated with the label with no spaces allowed between words, only hyphens and underscores.
- Field Instructions — Leave instructions for using the field later
- Required — Determine whether or not this field is mandatory to fill in. If yes, authors won’t be able to save posts or pages associated with the custom field unless it contains something.
- Default Value — This value will automatically populate the field when creating a post.
- Placeholder Text — Appears within input fields on the editor screen.
- Prepend & Append — Defines what appears before and after the input text
- Character Limit — Optionally put a limit on how many characters can be typed in
- Conditional Logic — Rules for when fields are visible
- Minimum & Maximum Value — Minimum and the maximum number allowed inside a field
Then fill up the field data and add the fields.
Step 4: Now, you have to configure the custom field location. Then scroll down to “Location.” You can add rules that determine under which circumstances the fields will be displayed. You can show field groups.
Step 5: Now, you will configure a few settings. This section allows you to configure the style, label placement, instruction placements, positions, and description.
Step 6: Once the settings are done, you can now preview or publish the fields. Make sure you have turned on the “Active” option under the “Settings” before publishing.
Now, check whether the fields are appearing or not while creating a new post. The custom field will appear in the post editor.
Advanced Custom Field is a popular WordPress custom field plugin. You can easily extend the content by adding the custom fields into the WordPress editor. The plugin provides various configuration options like field groups and location. Thus, you will have complete control over the WordPress screen editor and custom fields data settings. The installation and the setup process are very easy and simple. You can follow the guide on how to install and activate the plugin. Also, we have explained the detailed guide on how to add custom fields using Advanced Custom Fields Plugin. We hope this article will help you create custom fields on your site easily.