ACF Table Field Pro Add-on Docs Last updated:

Version 1.5.1

Table Field Pro 1.5.1 is now available. 🎉 This is a big one: import tables from CSV, edit them in fullscreen, reset them with one click, and output them with new PHP functions.

Version 1.5.0 was skipped. Its changes are part of this release.

Import from CSV and TSV

Do you already have your data in a spreadsheet? Import it from a CSV or TSV file, or paste it, and the table is filled for you. Read the import guide →

Fullscreen table editing

Large tables need room. A new option opens the table in fullscreen, so you can edit it without scrolling around the edit screen. The editing table also no longer stretches the ACF field layout: it stays inside the table field and scrolls on its own. Read the fullscreen guide →

Reset a table

A new option resets the table to the default from the field settings and removes all table content. Handy when you want to start over. Read the reset guide →

New PHP functions

Three new functions make the output of tables in your theme easier, especially for sub fields in repeaters and flexible content:

Example

if ( have_rows( 'sections' ) ) {

	while ( have_rows( 'sections' ) ) {

		the_row();
		the_sub_table( 'table' );
	}
}

update_field() also handles table data more flexibly and robustly now. And with define( 'ACF_TABLE_FIELD_PRO_DEVELOPER_MODE', true ); you get a developer tool with a raw data view of the table and a reset button.

And more

Translations for Czech, Danish, Spanish, Hebrew, Icelandic, Japanese, Lithuanian, Russian, Serbian, Swedish and Vietnamese have been added. The "Browse Fields" selection of ACF now shows a description, a preview image and a documentation link for the table field. And this release fixes a fatal error in Gutenberg block previews.

Changelog

  • New – Importing table data from CSV and TSV.
  • New – Option for fullscreen table editing.
  • New – Option to reset the table to its default from the field settings and remove all table content.
  • New – Introduces the_table(), get_sub_table() and the_sub_table().
  • New – Developer tool with a raw data view and a reset button, enabled with define( 'ACF_TABLE_FIELD_PRO_DEVELOPER_MODE', true );.
  • New – Czech, Danish, Spanish, Hebrew, Icelandic, Japanese, Lithuanian, Russian, Serbian, Swedish and Vietnamese translations.
  • Enhancement – Improved plugin updater.
  • Enhancement – The fullscreen mode of the WordPress editor uses the entire available height.
  • Enhancement – Removed the left margin of the Table Options button in Gutenberg blocks.
  • Enhancement – Improved styling of selected rows and columns when moving them.
  • Enhancement – Field description, preview image and documentation link in the "Browse Fields" selection.
  • Enhancement – More flexible and robust handling of table data with update_field().
  • Enhancement – The editing table no longer affects the ACF field layout. It stays inside the table field and scrolls on its own.
  • Fix – Cells with a rowspan but no colspan can be moved vertically.
  • Fix – A fatal error in Gutenberg block previews.
  • Fix – get_table() with sub fields, solved with the new function get_sub_table().

Questions or problems after updating? Contact support.

Previous and Next Sources

Parent sources