Recast Table Builder for ACF and SCF
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
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
- 01Create or edit an ACF or SCF field group.
- 02Add a new field and choose the Table field type.
- 03Assign the field group to the post type, page, options page, or block where you want to use it.
- 04Edit your content and add table headers, rows, and cell values in the Recast Table Builder for Advanced Custom Fields and Secure Custom Fields UI.
- 05Save 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