[WordPress] 外掛分享: Repeater2Template Widget for ACF Repeater and Elementor

首頁外掛目錄 › Repeater2Template Widget for ACF Repeater and Elementor
WordPress 外掛 Repeater2Template Widget for ACF Repeater and Elementor 的封面圖片
70+
安裝啟用
★★★★★
5/5 分(5 則評價)
21 天前
最後更新
問題解決
WordPress 5.5+ PHP 7.2+ v1.0.5 上架:2025-05-30

內容簡介

總結文案: 這個外掛能夠讓您循環遍歷 ACF 重複器字段,並使用 Elementor 模板呈現每一行。它提供了對重複器數據顯示方式的完全控制,並支持子字段映射到動態標籤。

問題與答案:
1. 這個外掛的主要功能是什麼?
- 主要功能是可以循環遍歷 ACF 重複器字段,並使用 Elementor 模板來呈現每一行。

2. 這個外掛可以控制如何呈現重複器數據嗎?
- 是的,這個外掛可以完全控制重複器數據的顯示方式。

3. 這個外掛支援哪些功能?
- 這個外掛支持選擇任何 ACF Pro 重複器字段、選擇 Elementor Pro 模板來呈現每一行、定義子字段到動態標籤的映射、支援文本、圖片、URL 和媒體字段。

4. 在使用這個外掛時是否需要編寫任何程式碼?
- 不需要編寫程式碼,這個外掛靈活並且可以擴展。

5. 這個外掛的體驗如何?
- 這個外掛輕巧,並提供與 Elementor 本身相容的操作體驗。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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:

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” }
]

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

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

Step 2: Add the Repeater2Template Widget

Edit the page with Elementor.
Search for Repeater2Template widget and drop it on your page.
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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon