Dynamic Dropdown Fields in ACF. February 28, 2019. Advanced Custom Fields is a powerful tool for building metaboxes, theme settings, custom blocks, and more. The acf/loadfield filter lets you customize a field before it loads. I often use Category Specific Search Form. October 14, 2019. Let users search through posts in a specific category. In this lesson, we are going to create a custom theme options in Wordpress dashboard. We are going to code the Back-end and the Front-end. I'll teach you how. Use the Advanced Custom Fields plugin to take full control of your WordPress edit screens & custom field data. Download for free Get PRO Proudly powering 1+ million websites and achieving a 5 star rating! Setting up ACF: Fields in Custom Table is very simple. Follow these easy steps. Upload the plugin to your /wp-content/plugins/ directory; Activate the plugin in your WordPress admin; Go to the Custom Fields Field Groups menu, edit or create a field group and enable ACF: Fields in Custom Table option.
Description
This ACF plugin makes it possible to store ACF data in structured database tables instead of WordPress core meta tables.
It uses ACF’s acf/update_field_group
hook to create/update the database and then uses acf/save_post
hook to store the data.
It was heavily inspired by Austin Ginder’s post https://anchor.host/acf-custom-fields-stored-in-custom-table/.
You can contribute to this plugin by submit PR/Issue in https://github.com/eduardo-marcolino/acf-fields-in-custom-table.
Supported Fields
- Text
- Text Area
- Number
- Range
- URL
- Password
- Image
- File
- Wysiwyg Editor
- oEmbed
- Select
- Checkbox
- Radio Button
- Button Group
- True / False
- Date Picker
- Date Time Picker
- Time Picker
- Color Picker
- Link
- Post Object
- Page Link
- Relationship
- Taxonomy
- User
Relational Fields
This plugin supports the following relational field types: Post Object, Page Link, Relationship, Taxonomy and User.
It can store both single and multiple values based on the multiple
option.
- If it’s a single value field, then the column type will be
bigint(20) unsigned
- If it’s a multiple value field, then the column type will be longtext and the date will be stored in json format.
You can query relational fields with multiple values using using MySQL’s function JSON_CONTAINS.
Here is an example:
Table:
Query:
The query above will return “Lord of the Flies” and “The Island”.
ACF Compatibility
This plugin was testes with ACF 5 FREE Version .
Installation
Setting up ACF: Fields in Custom Table is very simple. Follow these easy steps
- Upload the plugin to your
/wp-content/plugins/
directory; - Activate the plugin in your WordPress admin;
- Go to the Custom Fields > Field Groups menu, edit or create a field group and enable ACF: Fields in Custom Table option;
FAQ
This plugin supports custom post types?
Yes. It supports custom post types and built in types of post and page
What happens if I use unsupported field?
The value will be stored in the core meta tables instead of the custom table
Yes. It supports custom post types and built in types of post and page
Reviews
Description
Advanced Custom Field with which we can select Gravityforms.
Finally the Advanced Custom Fields: Gravityforms Add-on is available on the WordPress plugin repository!
Any documentation can be found on: Gravityforms ACF Field GitHub Repository.
Installation
Acf Wordpress Plug-ins
The plugin is available from the WordPress plugin repository
- Upload the plugin files to the
/wp-content/plugins/acf-gravityforms-add-on
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->Plugin Name screen to configure the plugin
- (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)
You can also install Advanced Custom Fields: Gravityforms Add-on trough composer
Acf Wordpress Theme
or if you make use of WPackagist