Create responsive repeating tabular data with single-line text, links, dates, media uploads, and full TinyMCE WYSIWYG editors. Enjoy drag-and-drop sorting with zero database bloat.
Experience the exact user experience your WordPress content editors will have. Add rows, reorder, type, and watch the JSON payload react in real time.
| # | Member Name (text) | Role / Status (select) | Join Date (date) | Bio / Note (wysiwyg) | Avatar | Delete |
|---|
Engineered to be fast, stable, and completely secure. No bloated build tools or complex multi-field clutter required.
Gain full tabular repeating field capabilities directly inside the free version of Advanced Custom Fields. No annual ACF Pro subscription or license renewals required.
Includes full rich text capabilities with bold, italic, lists, and links. Lifecycle listeners automatically re-bind the editor after drag-and-drop row sorting.
Reorder repeating rows smoothly using WordPress core's native jQuery UI Sortable library. Array positions auto-index cleanly without creating orphaned subfield rows.
Upload or pick images using WordPress's standard wp.media interface. Stores attachment IDs for automatic responsive srcset rendering.
No clicking through endless nested field creation screens. Configure complex repeating tables line-by-line using simple slug : Label : type syntax in seconds.
Strictly compliant with WordPress Coding Standards. All inputs run through sanitizers (sanitize_text_field, wp_kses_post) and outputs are properly escaped.
Instead of navigating nested repeater setting panels, Codekosh reads column definitions directly from a clean multiline textbox inside your ACF Field Group settings.
Retrieve clean multidimensional arrays using standard get_field().
<?php
/**
* Display Repeating Rows using Codekosh Custom Repeater
*/
$team_members = get_field( 'team_members' );
if ( ! empty( $team_members ) && is_array( $team_members ) ) : ?>
<div class="team-grid">
<?php foreach ( $team_members as $member ) :
// Safe output escaping
$name = ! empty( $member['name'] ) ? esc_html( $member['name'] ) : '';
$role = ! empty( $member['role'] ) ? esc_html( $member['role'] ) : '';
$bio = ! empty( $member['bio'] ) ? wp_kses_post( $member['bio'] ) : '';
$photo_id = ! empty( $member['photo'] ) ? absint( $member['photo'] ) : 0;
?>
<article class="team-card">
<?php if ( $photo_id ) : ?>
<?php echo wp_get_attachment_image( $photo_id, 'thumbnail', false, [ 'class' => 'avatar' ] ); ?>
<?php endif; ?>
<h3><?php echo $name; ?></h3>
<span class="badge"><?php echo $role; ?></span>
<?php if ( $bio ) : ?>
<div class="member-bio"><?php echo $bio; ?></div>
<?php endif; ?>
</article>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php
/**
* Register shortcode to output repeater data anywhere
* Usage: [codekosh_repeater field="team_members"]
*/
add_shortcode( 'codekosh_repeater', function( $atts ) {
$atts = shortcode_atts( [ 'field' => 'team_members' ], $atts );
$rows = get_field( $atts['field'] );
if ( empty( $rows ) || ! is_array( $rows ) ) {
return '';
}
ob_start();
echo '<ul class="codekosh-list">';
foreach ( $rows as $row ) {
$name = ! empty( $row['name'] ) ? esc_html( $row['name'] ) : 'Untitled';
$role = ! empty( $row['role'] ) ? esc_html( $row['role'] ) : '';
echo '<li><strong>' . $name . '</strong> - ' . $role . '</li>';
}
echo '</ul>';
return ob_get_clean();
});
[
{
"name": "Sarah Connor",
"role": "Lead Architect",
"date": "2024-03-15",
"bio": "<p>Spearheading technical architectures with <strong>10+ years</strong> experience.</p>",
"photo": 142
},
{
"name": "Alex Mercer",
"role": "Full-Stack Dev",
"date": "2024-06-20",
"bio": "<p>Specializes in high-traffic database indexing and PHP performance.</p>",
"photo": 158
}
]
See why developers prefer Codekosh for fast tabular repeating rows.
| Feature | Codekosh Custom Repeater | ACF Pro Repeater | Generic Multi-Field Workarounds |
|---|---|---|---|
| License Cost | 100% Free (GPLv2+) | $49 to $249 / Year | Freemium / Restricted |
| Setup Speed | ⚡ Under 2 minutes (Pipe-Syntax) | Manual nested tab clicking | Complex configuration |
| WYSIWYG Inside Rows | TinyMCE + Quicktags | Included | Typically breaks on drag |
| Drag & Drop Sorting | Native WP Sortable | Included | Inconsistent / Custom JS |
| Database Footprint | Clean single-array postmeta | 1 row per subfield per item | Bloated serialized records |
| External Dependencies | Zero CDNs (100% Core Local) | Zero CDNs | Often calls remote CSS/JS |
wp_postmeta table for every single repeating subfield.
codekosh-custom-repeater-field. You receive seamless automatic updates directly in your WP dashboard.
Install the plugin for free directly from your WordPress Dashboard or download the official release package from WordPress.org.