Advanced Custom Fields: Dynamic Table Field
A Dynamic Fable field for Advanced Custom Fields
by Geet Jacobs · github.com/jeradin/acf-dynamic-table-field · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jeradin/acf-dynamic-table-field/archive/refs/heads/master.zipWARNING: Upgrading from ACF4 to ACF5 can corrupt data in the table output.
Description
Adds a Dynamic Table Field to Advanced Custom Fields.
This is an add-on for the Advanced Custom Fields WordPress plugin and will not provide any functionality to WordPress unless Advanced Custom Fields is installed and activated.
The Dynamic Table field gives a few basic options: Table Class - Custom Table Class for the Front End template. Max Rows - Sets the maximum rows for the table in the admin section. Disable Sort - this will disable drag and drop sorting of rows in the admin. Fixed Columns - Set a fixed column count and text for the headers. Default Headers - If Fixed Columns is checked, you will need to enter default headers, one per line.
Thanks to micc83 for his table editor plugin: https://github.com/micc83/editTable
Source Repository on GitHub
https://github.com/Jeradin/acf-dynamic-table-field
Bugs, Questions or Suggestions
https://github.com/Jeradin/acf-dynamic-table-field/issues
Installation
The Website Field plugin needs to be added to your themes.
1. Download the zip file and upload as any Wordpress plugin.
Frequently Asked Questions
I've activated the plugin, but nothing happens!
Make sure you have Advanced Custom Fields installed and activated. This is not a standalone plugin for WordPress, it only adds additional functionality to Advanced Custom Fields.
Screenshots
- Table Editor.
- Field Settings.
Future Features
Changelog
1.1
- Updated code to work with V5
1.0.1
- fixed an unclosed tbody
1.0
- Initial Release