Advanced Custom Fields Prois the perfect solution for any wordpress site that needs more flexible data like other content management systems. The ACF PRO plugin contains additional custom fields of the 5th version, a repeater field, a gallery field, flexible content and an options page. The ACF Pro plugin is a GUI layer for custom fields, but is not a "wonderful 1 click" plugin. This plugin will allow you to easily save post data but won't magically display it on the website. To do this, you need to edit your theme and create the desired markup. The ACF Pro plugin is "light weight" yet powerful. You can create UI forms, global page variations, and even store custom field data for taxonomy conditions,
field The group field contains your custom fields, location rules, and screen display options. Each "group" field will use location rules to display the fields on a specific edit screen, and will then use the on-screen display options to customize the page. A typical "group" field looks like this:
In the "group" field, you can create your own fields. An example of this would be 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, select action, checkbox, full edit mode, etc.), default value, required status, etc. You can purchase add-ons to unlock more powerful field types: repeater field, gallery field and flexible content.
Similar to iTunes Smart Playlist Rules, ACF Pro Plugin Location Rules allows you to connect different groups to the edit screen. There are different types of connectors: by posts, by ID number, by page template, by taxonomy, and so on.
When a group field appears on the edit screen, the parameters for that 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 allows you to minimize the editing screen and provide a more convenient layout of content.
Displaying ACF Pro Plugin Data in Your Theme
The AFC Pro plugin is very easy to use and has a powerful library of functions for loading and displaying custom data. The plugin uses WP's built-in postmeta functions, but is also capable of formatting a 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 of modifying your theme and an understanding of PHP code. Once you edit the correct template file, a simple the_field('hero_text') will have a secondary (display) value, and get_field('hero_text') will return it back to be used as a variable. Be sure to read about all the available features before getting started with your theme. This is necessary to ensure that the code is written only once, without any modifications!