Dynamic Content Architecture

WordPress Repeater Fields
Unlimited Dynamic Rows Without Bloat

Create repeatable sets of subfields for team rosters, feature comparisons, pricing tables, and multi-media sliders. Enjoy drag-and-drop reordering, collapsed previews, and an ultra-fast PHP loop API.

Unlimited
Subfields Per Repeater Row
Free
Included in Community Edition (No $49/yr fee)
Drag & Drop
Smooth Vanilla JS Row Reordering
0 Query Lag
Object Cached Row Iteration

How MetaForge Engine Powers Dynamic Repeater Rows

Repeater fields are one of the most essential tools in modern WordPress theme development. MetaForge Engine simplifies repeater management with a modern UI and robust backend architecture.

📑

Collapsible Rows & Previews

Keep WordPress edit screens tidy. Collapse long lists of repeater items into compact summary pills displaying a selected subfield label.

Clean Editor Experience
↕️

Instant Row Reordering

Content editors can reorder slides, team members, or agenda items in seconds using buttery-smooth drag-and-drop handles.

Touch & Desktop Friendly
🛡️

Min / Max Row Limits

Enforce editorial standards by setting minimum and maximum row restrictions (e.g., minimum 3 testimonials, maximum 6 features).

Validation Rules
🎨

All 28 Field Types Supported

Every native field type can be placed inside a repeater: images, rich WYSIWYG editors, color pickers, relation selectors, and even sub-repeaters.

Full Field Matrix
⚡

Subfield Conditional Logic

Show or hide specific subfields inside a repeater row dynamically based on selections made in other subfields within that same row.

Row-Level Conditions
🚀

High Performance Data Storage

MetaForge stores repeater structure efficiently, preventing MySQL query degradation when iterating large numbers of repeated rows.

Scales to 500+ Rows

Developer PHP Guide: Rendering Repeater Loops

Iterating repeater fields in your WordPress theme templates is clean and straightforward with metaforge_have_rows(), metaforge_the_row(), and metaforge_get_sub_field().

1. Classic While Loop Architecture

This standard loop pattern ensures subfields are automatically contextualized to the current active row.

template-parts/team-grid.php
<?php
/**
 * Standard WordPress Repeater Loop Example
 * File: template-parts/team-grid.php
 */

// Check if the repeater field has rows of data
if (metaforge_have_rows('team_members')) : ?>
    <section class="team-grid">
        <h2><?php esc_html_e('Meet Our Leadership Team', 'my-theme'); ?></h2>
        <div class="team-cards-container">
            <?php 
            // Loop through the rows of data
            while (metaforge_have_rows('team_members')) : metaforge_the_row(); 
                $name     = metaforge_get_sub_field('member_name');
                $role     = metaforge_get_sub_field('member_role');
                $bio      = metaforge_get_sub_field('member_bio');
                $photo_id = metaforge_get_sub_field('member_photo');
                $linkedin = metaforge_get_sub_field('member_linkedin');
            ?>
                <article class="team-card">
                    <?php if (!empty($photo_id)) : ?>
                        <div class="team-avatar">
                            <?php echo wp_get_attachment_image($photo_id, 'medium', false, ['alt' => esc_attr($name)]); ?>
                        </div>
                    <?php endif; ?>

                    <h3><?php echo esc_html($name); ?></h3>
                    <p class="team-role"><?php echo esc_html($role); ?></p>
                    <p class="team-bio"><?php echo esc_html($bio); ?></p>

                    <?php if (!empty($linkedin)) : ?>
                        <a href="<?php echo esc_url($linkedin); ?>" target="_blank" rel="noopener noreferrer" class="team-social-link">
                            <?php esc_html_e('LinkedIn Profile &rarr;', 'my-theme'); ?>
                        </a>
                    <?php endif; ?>
                </article>
            <?php endwhile; ?>
        </div>
    </section>
    <?php 
    // Reset repeater loop pointer
    metaforge_reset_rows(); 
endif; ?>

2. Array-Based Direct Extraction

For high-throughput templates, fetch the entire repeater dataset as an indexed multidimensional array using metaforge_get_repeater().

inc/pricing-helper.php
<?php
/**
 * Alternative Fast Fetch: Get entire repeater as a sanitized PHP array
 */
$pricing_tiers = metaforge_get_repeater('pricing_plans');

if (!empty($pricing_tiers) && is_array($pricing_tiers)) {
    foreach ($pricing_tiers as $plan) {
        $title = $plan['plan_name'] ?? '';
        $price = $plan['monthly_price'] ?? 0;
        $badge = $plan['featured_badge'] ?? false;
        
        echo '<div class="plan-card ' . ($badge ? 'featured' : '') . '">';
        echo '<h4>' . esc_html($title) . '</h4>';
        echo '<span class="price">$' . esc_html($price) . '/mo</span>';
        echo '</div>';
    }
}

Real-World WordPress Repeater Field Use Cases

See how professional developers and digital agencies use MetaForge repeaters in production.

💰

Pricing Tables & Feature Matrices

Manage tiers with plan names, prices, billing frequency, and a nested repeater of checkmark feature items.

Saas & E-Commerce
👥

Team & Author Directories

Give clients a clear interface to add team members with photos, job titles, social handles, and department filters.

Agency Websites
📅

Event Schedules & Conferences

Structure multi-track conferences with speaker bios, talk summaries, start times, and room assignments.

Events & Summits

Frequently Asked Questions

Answers to common developer questions about WordPress repeater fields.

Yes! Unlike ACF which locks the Repeater field behind their $49+/year paid ACF Pro tier, MetaForge Engine provides full repeater field capabilities with unlimited subfields, drag-and-drop row reordering, and collapsible rows in our free community edition.

Related Field Architecture Guides

Dive deeper into advanced WordPress custom field layouts.

⚡0.08ms Execution Speed
✨28+ Enterprise Field Types
🔒Zero Vendor Lock-in
Ready for Production • v1.0.5

Start Building Dynamic Repeater Fields Today

Get unlimited repeater rows, drag-and-drop reordering, and clean PHP loops free with MetaForge Engine.

✓100% Native WP Meta
✓Free Repeaters in Core
✓1-Click ACF Migration