Black Friday Sale
Upto 40% OFF
Discount Auto Applied
Days
Hours
Seconds
Advanced Custom Fields is a powerful plugin used to create and manage custom fields and custom post types efficiently. Previously, users had to create custom post types and taxonomies manually by code or with another plugin like CPT UI. This process was often time-consuming and complex, particularly when working with custom content types or managing multiple CPTs.
However, since the ACF 6.1 version has been released, users can now seamlessly create custom post types and taxonomies directly within the ACF plugin itself, eliminating the need for external plugins or complex coding. It provides a user-friendly interface that simplifies defining custom fields and associating them with specific content types.
In this article, we will walk you through the process of creating custom post types, taxonomies, and custom fields using the ACF plugin.
Let’s take a closer look at creating custom post types, taxonomies, and custom fields using ACF.
To register a new Field Group, go to ACF, then click on Field Groups, and finally, click the “Add New” button.
Once you click the “Add New” button, you’ll see a screen where you can create custom fields for a specific group. To begin, type in the name of the field group.
Once you have configured all the necessary settings, click on the “Save Changes” button to save your settings.
To choose a different field, click on “Browse Fields.” This will open a window with various tabs organizing the fields. If you click on a specific field within this window, you’ll see a brief description, a visual representation, and links to more information in the documentation.
To change a field group, just click on the “Edit” button. You’ll see all the options there for you to customize.
To create a new taxonomy, go to ACF, select “Taxonomies,” and finally, choose the “Add New” option and access a screen with settings for the taxonomies.
After you’ve set everything up the way you want, just click “Save Changes” to make sure your settings are saved.
To modify existing taxonomies, click on the “Edit” button, and you will find all the settings available for customization.
To register a new custom post type, go to ACF ➝ Post Types, click on Add New, and access a screen with settings for the post type.
Once you have configured all the necessary settings, simply click on the “Save Changes” button to save your settings.
To modify existing custom post types, click on the “Edit” button to find all the settings available for customization.
To make taxonomy terms, go to the menu on your WordPress Dashboard, find the custom post type you made (like “Movies” in my case), and click on it. Choose the taxonomy for which you want to create terms. Here, I’m choosing “Language.”
Now, type the term name, enter a slug, add a description, and click the “Add New Language” button.
To set up categories for your custom post types, go to your WordPress Dashboard and find the custom post type you made (e.g., ‘Movies’). Click on it, then choose the category option. These categories are the ones you added when creating the custom post type earlier.
Now, give a name to a category, enter a slug, pick the parent category it belongs to, and write a short description. After that, click on the “Add New Category” button.
In conclusion, creating custom post types, taxonomies, custom fields, and taxonomy terms using the Advanced Custom Fields (ACF) plugin offers a powerful solution for tailoring your WordPress website to specific content needs. With ACF, you can effortlessly define custom fields, associate them with post types, and enhance your content organization and data collection.