Repeater2Template Widget for ACF Repeater and Elementor

الوصف

⚠️ Requires Elementor Pro

The simplest plugin to render ACF Repeater field data or JSON data (from an array or URL) inside Elementor Loop Grids & Templates.

🎥 Demo Videos:

This plugin enables you to loop through ACF Repeater fields, a local JSON array, or even a remote JSON response (via URL) — and render each row using an Elementor Template.

It gives you full control over how the data is displayed and supports subfield-to-dynamic-tag mapping — so your Elementor templates stay dynamic, flexible, and clean.

💡 Key Features

  • Select any ACF Pro Repeater field or provide a JSON array / JSON URL as a data source.
  • Choose an Elementor Pro template to render each row.
  • Define subfield-to-dynamic-tag mappings for flexible display.
  • Supports text, image, URL, and media fields.
  • Fetch JSON dynamically from any API or custom endpoint with parameters.
  • 100% no-code setup — fully Elementor-native experience.

🔁 Flexible Data Sources for Repeater Fields

In many real-world projects, repeater fields aren’t always tied to the current post. You might have:

  • A Global Options Page (like “Site Settings” or “Theme Settings”) with repeatable content shared site-wide.
  • A Specific Post/Page that acts as a “data hub” reused across multiple templates.
  • The default Current Post source for page-specific content.

This plugin supports all three inside Elementor:

  • Current Post Fetches repeater data from the current post/page.
  • Specific Post (by ID) Pulls repeater data from any post type — ideal for master content reuse.
  • Options Page Fetches repeater data from any registered ACF Options Page (like global footers, menus, banners, or team sections).

This feature lets you centralize repeater content and reuse it across templates without duplication.

🌐 JSON Array & JSON URL Support

Not using ACF? No problem.
You can display dynamic JSON data instead — perfect for API-driven content or structured data from external sources.

🧱 Two JSON Data Modes:

  1. JSON Array — Paste your JSON array directly inside the widget settings.

    [
    { “title”: “Book A”, “author”: “Author X”, “image”: “https://example.com/book1.jpg” },
    { “title”: “Book B”, “author”: “Author Y”, “image”: “https://example.com/book2.jpg” }
    ]

  2. JSON URL (New in v1.0.3) — Fetch data dynamically from any endpoint or API URL.

  • The URL can include dynamic parameters (like post ID, category, or user meta).
  • Ideal for remote product feeds, API-based testimonials, blog lists, or user data.
  • The plugin automatically parses the JSON response and renders each object as a loop item using your chosen Elementor template.

Example:

https://api.example.com/books?category=fiction&user_id={{user_id}}

Use dynamic tags to inject values into the URL, making your data source truly dynamic.

How It Works

Step 1: Create a Template for Each Item

  1. Go to Templates Saved Templates Add New.
  2. Choose Section or Container type.
  3. Design how a single repeater item should look (e.g., team card, testimonial block, etc.).
  4. Save the template.

Step 2: Add the Repeater2Template Widget

  1. Edit the page with Elementor.
  2. Search for Repeater2Template widget and drop it on your page.
  3. Choose the data source:
    • ACF Repeater – Select your field key or name.
    • JSON URL / Array – Paste JSON directly or provide a URL.

Step 3: Choose Template

  • Select the Elementor template created in Step 1.
  • The widget will automatically loop through all repeater or JSON items and render each using that template.

لقطات الشاشة

  • Widget settings panel in Elementor.
  • Example: ACF Repeater source with mapped subfields.
  • Example: JSON Array and JSON URL usage.

التنصيب

  1. Upload the plugin files to /wp-content/plugins/ or install via the WordPress Admin Panel.
  2. Activate the plugin.
  3. Ensure Elementor Pro and ACF Pro are installed if using ACF.
  4. Create your ACF Repeater field or prepare JSON/URL data.
  5. Create an Elementor Pro Saved Template for rendering.
  6. Add the Repeater2Template Widget to your layout and choose:
    • ACF Repeater
    • Specific Post / Options Page
    • JSON Array
    • JSON from URL

الأسئلة المتكررّة

Does it require ACF Pro?

Only if you’re using repeater fields. JSON and JSON URL sources work without ACF.

Can it fetch live data from APIs?

Yes! Use the JSON URL option to fetch and render data from any external or internal API endpoint.

Does it cache data from the URL?

Currently, data is fetched fresh on every render. Future versions may include caching options.

Can I use Elementor Free?

No. Elementor Pro is required for dynamic tag and template integration.

What data types are supported?

Text, images, URLs, media fields — plus automatic <img> tag handling for image URLs.

المراجعات

23 سبتمبر، 2025 1 reply
This plugin has what you need to style and present ACF Pro Repeater fields in the way you want to. The support to help with a nested template issue was impeccable and generous. The developer Ab went the extra mile to help with the specific issue I had. Thanks for a great plugin Sam
20 سبتمبر، 2025 1 reply
This plugin makes working with ACF repeaters in Elementor so easy. I can map subfields directly to templates without any hassle. Saves tons of time and just works—super intuitive!JSON to Elementor template is a nice addition!
19 سبتمبر، 2025 1 reply
The plugin do the job perfectly & easily and smoothly. It is very easy to use and you can render any template with any repeater field in your ACF fields. I have some suggestions to developer (who so helpful and welcome man ) to add the other sources to get data from, not just current post/page, but other posts, Option pages, that’s it. Actually i did some a little bit modification on plugin to suit my work, it was so easy and readable code. Thanks so much man!
18 سبتمبر، 2025 1 reply
I am literally very happy and satisfied with this plugin …very simple to use and can be used for every structure you can design the way you want your sections to be designed and just have to set fields names to headings in subfields…i am giving this honest review…literally very happy….All must try this ..This is literally a gem
إقرأ جميع المراجعات 4

المساهمون والمطوّرون

“Repeater2Template Widget for ACF Repeater and Elementor” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

سجل التغييرات

1.0.4

  • Added: Control to limit the number of rows displayed from ACF Repeater or JSON data.

1.0.3

  • Added support for JSON from URL — fetch data dynamically from APIs or custom endpoints with optional dynamic parameters.

1.0.2

  • Added flexible ACF repeater data sources (Current Post, Specific Post, Options Page).

1.0.1

  • Added JSON Array as a data source.

1.0.0

  • Initial release with full loop/template support for ACF Repeater.