Descrição
Recast Table Builder for Advanced Custom Fields and Secure Custom Fields adds a dedicated Table field type for Advanced Custom Fields (ACF) and Secure Custom Fields (SCF).
Use it to build structured, editable custom data tables directly in the WordPress admin.
Features include:
- Add and remove table rows and columns.
- Use text cells in the field UI.
- Store the full table structure in one ACF/SCF field value.
- Works with existing ACF and SCF field group workflows.
This plugin requires Advanced Custom Fields or Secure Custom Fields to be installed and active.
Usage
- Create or edit an
ACForSCFfield group. - Add a new field and choose the
Tablefield type. - Assign the field group to the post type, page, options page, or block where you want to use it.
- Edit your content and add table headers, rows, and cell values in the
Recast Table Builder for Advanced Custom Fields and Secure Custom FieldsUI. - Save or update the post.
To render the saved table on the front end, fetch the field value with get_field() and pass it to recast_stf_render():
$table = get_field( 'my_table' );
if ( $table ) { echo recast_stf_render( $table ); }<h3>Styling</h3>
Recast Table Builder for Advanced Custom Fields and Secure Custom Fields` outputs a small set of default classes:
.recast-table-builder-for-acf-scf-front.recast-table-builder-for-acf-scf-front__table.recast-table-builder-for-acf-scf-front__head.recast-table-builder-for-acf-scf-front__body.recast-table-builder-for-acf-scf-front__row.recast-table-builder-for-acf-scf-front__heading.recast-table-builder-for-acf-scf-front__cell
You can style those classes directly with CSS.
Ecrãs
Instalação
- Upload the plugin files to the
/wp-content/plugins/recast-table-builder-for-acf-scfdirectory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the
Pluginsscreen in WordPress. - Make sure Advanced Custom Fields or Secure Custom Fields is installed and active.
- Add the
Tablefield type to a field group.
Perguntas frequentes
-
Does this plugin require Advanced Custom Fields or Secure Custom Fields?
-
Yes.
Recast Table Builder for Advanced Custom Fields and Secure Custom Fieldsextends theACF/SCFfield API and requiresAdvanced Custom FieldsorSecure Custom Fieldsto be active. -
Is this an ACF table field plugin?
-
Yes. This plugin adds a dedicated
Tablefield type you can use as anACF table field. -
Does this work as a Secure Custom Fields table field?
-
Yes. The same
Tablefield type works inSecure Custom Fields (SCF)field groups. -
Which cell types are supported?
-
The plugin supports
textcells. -
How do I display the table in my theme?
-
Use
get_field()to retrieve the saved value and pass it torecast_stf_render(), for example:$table = get_field( 'my_table' ); if ( $table ) { echo recast_stf_render( $table ); } -
Which PHP versions are supported?
-
The plugin targets PHP 7.4 and newer. That matches the current minimum PHP version required by current releases of both Advanced Custom Fields and Secure Custom Fields.
Avaliações
Contribuidores e programadores
“Recast Table Builder for ACF and SCF” é software de código aberto. As seguintes pessoas contribuíram para este plugin:
ContribuidoresTraduza o “Recast Table Builder for ACF and SCF” para o seu idioma.
Interessado no desenvolvimento?
Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.
Registo de alterações
1.1.12
- Prepared first public WordPress.org SVN release and synchronized versioning with current approved plugin naming and packaging.
1.1.10
- Renamed the plugin to Recast Table Builder for Advanced Custom Fields and Secure Custom Fields.
- Updated slug and text domain to
recast-table-builder-for-acf-scf. - Standardized internal declarations with the
recast_stf_prefix to reduce collisions.
1.1.9
- Added per-field runtime config support so add-ons can control Recast Table Builder for Advanced Custom Fields and Secure Custom Fields features on a field-by-field basis.
- Updated the admin table UI to respect field-specific enabled cell types instead of only global plugin availability.
1.1.8
- Fixed WYSIWYG table-value decoding so formatted content with quoted HTML attributes does not corrupt the saved table JSON.
- Tightened table-grid selectors and admin asset cache busting so WYSIWYG testing behaves more reliably in the editor.
1.1.7
- Added compatibility handling for Pro basic WYSIWYG cells so saved formatted content is preserved and previewed safely when those cells are unavailable.
- Added shared table support for initializing and rendering add-on WYSIWYG cells safely inside the admin UI.
1.1.6
- Added compatibility handling for Pro image cells so saved image data is preserved and previewed safely when those cells are unavailable.
- Allowed attachment-based image fields to initialize cleanly in the shared table UI for add-ons such as Recast Table Builder for Advanced Custom Fields and Secure Custom Fields Pro.
1.1.5
- Refactored the free plugin into clearer modules for environment checks, dependencies, assets, values, rendering, and compatibility helpers.
- Split free core cell types from compatibility-only fallback cell types so optional Pro features are preserved without being treated as free features.
- Tightened rendered HTML allowlists to keep text and preview output safer while preserving readable locked previews for unavailable cell types.
1.1.4
- Preserved file and link rendering when those cell types are unavailable and replaced locked admin warning boxes with muted saved-value previews.
1.1.3
- Added a save-preparation hook so optional add-ons can resolve dynamic uploads before the table JSON is normalized.
1.1.2
- Fixed dynamic additional field templates so ACF-managed field types get unique keys and names per cell.
1.1.1
- Moved optional cell implementations out of the free plugin so unavailable features cannot be enabled by a simple flag change.
1.1.0
- Split the plugin architecture into a core plugin and add-on-ready cell type registry.
- Kept text cells in the plugin and locked unsupported cells safely when those cell types are unavailable.
- Added extension hooks so add-ons can enable extra cell types without replacing the main field.
1.0.8
- Tightened dependency detection so the missing ACF or SCF notice appears only when a supported plugin is actually active.
1.0.7
- Renamed the plugin from Recast ACF Table to Recast Table Builder for Advanced Custom Fields and Secure Custom Fields.
- Updated the internal text domain and helper names to match the new brand.
1.0.6
- Documented first-class support for Secure Custom Fields.
- Updated dependency checks and admin notices to recognize either ACF or SCF.
1.0.5
- Added a front-end rendering helper for saved table values.
1.0.4
- Added runtime compatibility guards for WordPress and PHP versions.
- Replaced a PHP-only unique ID call with the WordPress helper for better long-term compatibility.
- Added a repeatable PHP compatibility check for PHP 7.4 through current PHP 8.x releases.
1.0.3
- Prepared the plugin for WordPress.org distribution.
- Added a standard WordPress.org readme.
- Updated plugin metadata, licensing, and translation setup.
- Added an admin notice when Advanced Custom Fields is missing.
- Normalized and sanitized stored table data before saving.
- Improved admin-side field scripts and CSS for more reliable behavior.


