- Compatible WP Versions
- 4.x, 5.x
field The “Group” field contains your custom fields, location rules, and display options. Each “group” field will use location rules to display the fields on a particular editing screen, and then will use the display settings on the screen to configure the page. A typical “group” field is as follows:
In the “group” field, you can create your own fields. An example of this is a group called "Artist", which contains 2 fields "Biography" and "Works".
Each field has a large number of different options that serve to change its type (text, selection action, check-box, full edit mode, etc.), default values, required status, etc. You can purchase add-ons to unlock more powerful field types: repeater field, gallery field, and flexible content.
Like iTunes Smart Playlist rules, ACF Pro's location rules allow you to connect different groups to the editing screen. There are various types of connectors: by message, by ID number, by page template, by taxonomy, etc.
When the “group” field appears on the editing screen, the parameters for this field are automatically loaded. They allow you to hide elements on the page. For example, if you want the main editor to be hidden while the Artist field is displayed. This minimizes the editing screen and provides more convenient placement of content.
Displaying ACF Pro Plugin Data in Your Topic
The AFC Pro plugin is very easy to use and has a powerful library of functions for loading and displaying user data. The plugin uses WP's built-in post-meta functions, but it is also able to format the value based on type fields and settings fields. This allows you to write less code and develop smarter websites!
The AFC Pro plugin will require you to have some prior knowledge about modifying your topic and understanding the PHP code. After you edit the correct template file, a simple the_field ('hero_text') will have a secondary (displayed) value, and get_field ('hero_text') will return it back for use as a variable. Be sure to read about all the available features before starting work on your topic. This is necessary to ensure that the code is written only once, without any modifications!