[WordPress] 外掛分享: G10DER Repeater Fields for Advanced Custom Fields

首頁外掛目錄 › G10DER Repeater Fields for Advanced Custom Fields
WordPress 外掛 G10DER Repeater Fields for Advanced Custom Fields 的封面圖片
10+
安裝啟用
尚無評分
27 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-06-17

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「G10DER Repeater Fields for Advanced Custom Fields」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

G10DER Repeater Fields adds repeater field functionality for Advanced Custom Fields.
Create repeatable groups of fields without requiring ACF Pro.
Features:

Repeater field for ACF Free
Unlimited rows
Minimum and maximum row limits
Drag and drop row sorting
Row collapse and expand
Multiple repeater fields per page
Import and export support
Developer-friendly API
Lightweight and fast

Supported Sub Fields:

Text
Textarea
Number
Select
Checkbox
Radio
True / False
Image
File
Date Picker
Date Time Picker
WYSIWYG

Usage
Create an “Extended Repeater” field inside an ACF field group.
Retrieve values using:
$rows = get_field( 'your_field_key' );

if ( $rows ) {

foreach ( $rows as $row ) {

echo g10der_get_sub_field(
$row,
'subfield_key'
);

}

}

Helper Function

The plugin includes a helper function:
g10der_get_sub_field(
$row,
$field_name
);

Example:
$rows = get_field( 'post_layout' );

foreach ( $rows as $row ) {

echo g10der_get_sub_field(
$row,
'heading'
);

}

Select and Radio fields return:
array(
'value' => 'option_1',
'label' => 'Option 1',
);

Checkbox fields return:
array(
'option_1' => 'Option 1',
'option_2' => 'Option 2',
);

延伸相關外掛

文章
Filter
Apply Filters
Mastodon