The Repeater Table display format renders an ACF Repeater field as an HTML table: every repeater row becomes a table row, and every sub field becomes a column. Columns are blocks, so they can be reordered, hidden, relabelled, and styled one by one, while each cell reuses the ACF Text, ACF Image, ACF Button, or ACF Icon block with all of its settings.
The format suits price lists, specification sheets, schedules, team directories, and any repeater whose rows share the same set of values.
Supported Field Types
The Repeater Table display format supports the following field types:
- Repeater
Inside the table, a sub field becomes a column when it can be shown as one of these cell types:
| Sub field type | Default cell | Also available |
|---|---|---|
| Image | Image | — |
| Icon Picker | Icon | — |
| Link, Page Link | Button | Text |
| Email, URL | Text | Button |
| File | Button | — |
| Any other field the ACF Text block can display | Text | — |
Gallery, oEmbed, Group, Repeater, Flexible Content, Clone, Message, Accordion, Tab, Google Map, Post Object, Relationship, Taxonomy, and User sub fields do not get a column. Sub fields inside a Group that sits in the repeater are listed individually.
Columns
Loading a repeater field with Display as: Table creates one ACF Table Column block per supported sub field, in the order the sub fields have in ACF, all visible.
- Reordering — select a column (click a cell or use List View) and move it with the toolbar arrows, or drag it in List View.
- Hiding — turn off Show column in the column’s sidebar. The column disappears from the canvas and the frontend but keeps its settings; it stays in List View with “(hidden)” after its name, so it can be selected and shown again.
- Removing — remove the column block like any other block.
- Syncing — after adding sub fields to the repeater in ACF, click Sync columns in the table’s toolbar. Sub fields without a column are added at the end; existing columns are left untouched.
- Adding manually — click Add column in the table’s toolbar, then pick a sub field from the list shown in the new column.
- Changing the cell type — when a sub field supports more than one cell type (for example a Link as Button or Text), use Display as in the column’s sidebar. The cell block is replaced and its settings are reset.
Editing in the Canvas
The first row of the table is editable: click a cell to select its ACF Text, Image, Button, or Icon block and adjust it — the change applies to that column in every row. The other rows are live previews; click one to make it the editable row. Header labels can be typed directly into the header row.
Customization
Table-level controls live in the ACF Table block’s sidebar; column-level controls live in each ACF Table Column block’s sidebar.
| Customization | Description | Note |
|---|---|---|
| Show Header | Show or hide the header row with the column labels. | Lives in the Table panel. |
| Striped Rows | Give every second row a background color. | Lives in the Table panel. |
| On Mobile | Below 480px: Scroll horizontally (default) keeps the columns and scrolls sideways; Stack rows as cards turns each row into a card with the column label above each value. | Lives in the Table panel. Stacking is previewed in the editor’s Mobile preview. |
| Header Color | Text and background color of the header row. | Lives in the Color panel. |
| Stripe Color | Background color of the striped rows. | Lives in the Color panel. Only shown when Striped Rows is on. |
| Cell Border | Color, style (solid, dashed, dotted, none), and width of every cell border, set together in one control. | Lives in the Border panel. No per-side settings. |
| Cell Padding | Inner padding of every header and body cell. | Lives in the Dimensions panel. |
| Empty Message | Toggle (“Show message if empty”) plus fallback text shown when the repeater has no rows. | Lives in the Output Settings panel. |
| Column: Sub Field | Which sub field the column shows. | ACF Table Column → Column panel. |
| Column: Display As | Cell type for sub fields that support more than one. | ACF Table Column → Column panel. Only shown when there is a choice. |
| Column: Header Label | Text of the column’s header cell. Defaults to the sub field label. | ACF Table Column → Column panel, or type in the header row. |
| Column: Show Column | Hide the column without removing it. | ACF Table Column → Column panel. |
| Column: Width | Column width in px, %, em, or rem. | ACF Table Column → Column panel. |
| Column: Alignment | Horizontal (left, center, right) and vertical (top, middle, bottom) alignment of the header and body cells. | ACF Table Column → Column panel. |
The block also supports the following standard WordPress block controls: Block Alignment (wide, full), Color (text, background), Typography (font size), and Dimensions (margin, padding).
CSS Reference
The block wrapper carries acf-field-blocks-table, acf-field-blocks-table--scroll or acf-field-blocks-table--stack, and is-striped when striped rows are on. Inside it, .acf-field-blocks-table__wrapper holds table.acf-field-blocks-table__table. Every body cell has a data-label attribute with its column label.
Styling is driven by these custom properties on the wrapper:
| Custom property | Default |
|---|---|
--afb-table-header-bg | transparent |
--afb-table-header-color | inherit |
--afb-table-stripe-color | rgba(0,0,0,0.04) |
--afb-table-border-color | #dcdcde |
--afb-table-border-width | 1px |
--afb-table-border-style | solid |
--afb-table-cell-padding | 0.5em 0.75em |
Filters
The table passes through the shared afb/attributes, afb/value, and afb/output filters, plus its own afb/table/attributes, afb/table/value, and afb/table/output. Each cell block keeps its own filters (for example afb/text/value).