Type to search.

#710 by installs

Table Field Add-on for ACF and SCF

by Johann HeyneVersion 1.5.1

A Table Field Add-on for the Advanced Custom Fields and Secure Custom Fields Plugin.

Active installs
50,000+
#710 of 1,000
Downloads, all time
1.3M
1,287,079
Downloads, 30 days
90.8K
23.4K in the last 7
Rating
4.9 / 5
60 reviews
Last updated
4 days ago
Oct 27, 2026
Version
1.5.1
50 releases

Upkeep and compatibility

Last updatedOctober 27, 2026Updated in the last 3 months
Tested up toWordPress 7.1.4Covers WordPress 7.1.4, the current release
Needs WordPress5.3 or newer
Needs PHP7.4 or newer
First publishedDecember 29, 2014
Support, last two months3 of 3 threads resolved (100%)

Reviews

4.9 / 5 from 60 reviews

Reviews by star rating
5 stars56
4 stars3
3 stars0
2 stars0
1 star1

Downloads, last 30 days

Low 164 a dayHigh 13.4K a day

What the author says it does

The Table Field plugin is an Add-on and enhances the functionality of the Advanced Custom Fields (ACF) plugin and the Secure Custom Fields plugin with easy-to-edit tables.

This plugin requires the Advanced Custom Fields plugin or the Secure Custom Fields plugin!

The table field works also with the ACF repeater and flexible field types and supports the ACF Blocks for Gutenberg.

Features

  • Table Header (Option)
  • Table Caption (Option)
  • Support for ACF Gutenberg blocks
  • Add and remove table columns and rows
  • Change order of columns and rows by dragging
  • To move to the next cells editor press key: tab
  • To move to the previous cells editor press key: shift + tab

Translations

  • English – default, always included
  • German: Deutsch – immer dabei!
  • Danish: Dansk – altid der!
  • Polish: Polski – zawsze tam jest!

Note: Please contribute your language to the plugin to make it even more useful.

PRO

There is also a Table Field Pro Add-on for the Advanced Custom Fields and Secure Custom Fields plugins.

The Pro plugin offers a highly configurable and flexible table interface.

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

How to output the table html?

To render the table fields data as an html table in one of your template files (page.php, single.php) you can start with the following basic code example:

$table = get_field( 'your_table_field_name' );

if ( ! empty ( $table ) ) {

echo '<table>';

if ( ! empty( $table['caption'] ) ) {

echo '<caption>' . $table['caption'] . '</caption>'; }

if ( ! empty( $table['header'] ) ) {

echo '<thead>';

echo '<tr>';

The Table field returns no data on get_field()?

If the table has only one empty cell, then get_field() returns FALSE. get_field() returns NULL when a field is not stored in the database. That happens when a page is copied but not their fields content. You can check both with empty()…

$table = get_field( 'your_table_field_name' );

if ( ! empty( $table ) ) { // $table is not FALSE and not NULL. // Field exists in database and has content. }

How to handle line breaks?

This is about displaying line breaks in the admin tables and getting line breaks as <br> when outputting the tables HTML.

Converting Line Breaks for HTML Output

To convert line breaks to <br> in tables HTML output the PHP function nl2br() can be used:

For line breaks in table header cells replace…

echo $th['c'];

with…

echo nl2br( $th['c'] );

For line breaks in table body cells replace…

echo $td['c'];

with…

How to use the table field in Elementor or other Page Builders?

In general, its up to the page builder plugins to support ACF field types. But because the table field is not a native ACF field, the support for this field may never happen in page builders.

For now the way to go is using a shortcode. Elementor provides for example a shortcode widget. Before you can use a shortcode to display a table fields table, you have to setup a shortcode in functions.php.

Updating a table using update_field()

You can use the ACF PHP function update_field() to change a tables data.

Notice

  • Make sure that the number of entries in the header array matches the number of cells in the body rows.
  • The array key ‘c’ stands for the content of the cells to have the option of adding other cell setting in future development.
Third party plugins issues

Since version 1.3.1 of the table plugin, the storing format of the table data changes from JSON string to serialized array for new or updated tables. The issue with JSON is because of third party plugins that do not properly applying wp_slash() to a post_meta value before updating with update_post_metadata(). This can break JSON strings because update_post_metadata() removes backslashes by default.

Latest changelog entry

1.5.1

  • Optimizes table text flow and wrapping

Screenshots

From WordPress.org.

Tagged

Plugins that share its tags

#297 by installs

ACF Content Analysis for Yoast SEO

by Yoast

WordPress plugin that adds the content of all ACF fields to the Yoast SEO score analysis.

Installs
100,000+
Rating
4.1 (35)
Updated
25 days ago

#899 by installs

Really Simple CSV Importer

by Webの相談所

Alternative CSV Importer plugin. Simple and powerful, best for geeks.

Installs
40,000+
Rating
4.9 (107)
Updated
4 months ago

#28 by installs

Advanced Custom Fields (ACF®)

by WP Engine

ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 million sites, WordPress developers love ACF.

Installs
2+ million
Rating
4.5 (1.4K)
Updated
51 days ago

#96 by installs

TablePress – Tables in WordPress made easy

by Tobias Bäthge

Embed beautiful, accessible, and interactive tables into your WordPress website’s posts and pages, without having to write code!

Installs
600,000+
Rating
5.0 (4.6K)
Updated
19 days ago

#420 by installs

Secure Custom Fields

by WordPress.org

Secure Custom Fields boosts content management with custom fields and options. It deactivates Advanced Custom Fields to prevent duplicate code errors.

Installs
100,000+
Rating
4.8 (69)
Updated
10 days ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin.