跳到内容

Advanced Gallery & Repeater Fields for ACF

v2.1.6

UX Design Experts · 2026年1月7日 上架

Advanced ACF fields with built-in layouts. Works with free ACF! Gallery & Repeater fields with masonry, carousel, lightbox & more.

正在使用
700+
评分
暂无
累计下载
3,724
最近更新
2026年9月5日
需要 WordPress 5.8+已测试到 7.0.9PHP 7.4+

截图

Enhanced Gallery field in admin - Configure layouts, columns, gaps, and lightbox options
Enhanced Gallery field in admin - Configure layouts, columns, gaps, and lightbox options
Gallery grid layout on frontend - Responsive grid with customizable columns
Gallery grid layout on frontend - Responsive grid with customizable columns
Gallery masonry layout - Pinterest-style masonry with variable heights
Gallery masonry layout - Pinterest-style masonry with variable heights
Gallery carousel layout - Touch-enabled slider with autoplay and navigation
Gallery carousel layout - Touch-enabled slider with autoplay and navigation

Advanced Gallery & Repeater Fields for ACF supercharges Advanced Custom Fields with two powerful field types that include built-in frontend display options. No coding required!

Enhanced Gallery Field

Transform your image galleries with professional layouts – no coding needed!

Available Layouts:
* Grid – Responsive grid with customizable columns (1-6)
* Masonry – Pinterest-style masonry layout
* Carousel/Slider – Touch-enabled slider with autoplay, arrows, and dots
* Justified – Flickr-style justified rows with perfect alignment
* Lightbox – Built-in lightbox modal with thumbnails, keyboard navigation, and swipe support

Gallery Features:
* WordPress Media Library integration
* Drag & drop image reordering
* Configurable image sizes
* Lazy loading for performance
* Caption support
* Touch/swipe gestures
* Keyboard navigation
* Fully responsive

📋 Enhanced Repeater Field

Create beautiful repeating content sections with pre-built templates.

** Works with ACF Free & Pro!** – No ACF Pro required for admin editing.

Available Layouts:
* List – Clean, simple list format
* Grid/Cards – Modern card-based grid with images, titles, and CTAs
* Table – Organized data table format
* Accordion – Collapsible panels with ARIA accessibility
* Tabs – Horizontal or vertical tabbed interface
* Timeline – Vertical timeline with dates and markers

Repeater Features:
* Visual admin interface (no ACF Pro needed!)
* Add, remove, duplicate, and reorder rows
* Field mapping for titles, content, images, links, and dates
* ARIA accessibility support
* Keyboard navigation
* Responsive layouts
* Customizable styling

Key Features

  • Works with ACF Free! – Both fields fully functional with free ACF
  • Zero Coding – Configure everything in field settings
  • Auto-Rendering – Use standard the_field() or get_field()
  • Fully Responsive – Mobile-friendly layouts
  • Fast Performance – Optimized CSS and JS
  • Accessible – ARIA labels and keyboard navigation
  • WP All Import Compatible – Bulk import data from CSV/XML
  • Developer Friendly – Helper functions and CSS variables for customization
  • SEO Optimized – Semantic HTML markup
  • Translation Ready – Full i18n support

Perfect For

  • Photography portfolios
  • Product galleries
  • Team member listings
  • Testimonials
  • FAQs
  • Services showcases
  • Timeline histories
  • Feature comparisons
  • And much more!

WP All Import Compatibility

Fully compatible with WP All Import Pro and the ACF Add-On:
* Enhanced Gallery: Import comma-separated image IDs or URLs
* Enhanced Repeater: Import JSON or serialized data
* Automatic field type mapping
* Bulk data migration support

Usage Examples

Basic Usage:

<?php
// Auto-renders based on field settings
the_field('my_gallery');
?>

Helper Functions:

<?php
// Manual rendering with full control
echo agrfuxd_render_enhanced_gallery('gallery_field', get_the_ID());
echo agrfuxd_render_enhanced_repeater('repeater_field', get_the_ID());
?>

Custom Styling:

:root {
    --agrfuxd-columns: 4;
    --agrfuxd-gap: 20px;
    --agrfuxd-primary: #0073aa;
    --agrfuxd-radius: 10px;
}

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)
  • Mobile browsers (iOS Safari, Chrome Mobile)

Developer Documentation

Helper Functions

agrfuxd_render_enhanced_gallery( $field_name, $post_id )
Manually render an Enhanced Gallery field with its configured layout.

Parameters:
* $field_name (string) – The field name or key
* $post_id (int|null) – Post ID (defaults to current post)

Returns: (string) HTML output

agrfuxd_render_enhanced_repeater( $field_name, $post_id )
Manually render an Enhanced Repeater field with its configured layout.

Parameters:
* $field_name (string) – The field name or key
* $post_id (int|null) – Post ID (defaults to current post)

Returns: (string) HTML output

CSS Variables

The plugin uses CSS custom properties for easy theming:

:root {
    /* Layout */
    --agrfuxd-columns: 3;
    --agrfuxd-gap: 20px;

    /* Colors */
    --agrfuxd-primary: #2271b1;
    --agrfuxd-text: #1e1e1e;
    --agrfuxd-border: #ddd;
    --agrfuxd-bg: #f9f9f9;

    /* Design */
    --agrfuxd-radius: 8px;
    --agrfuxd-shadow: 0 2px 8px rgba(0,0,0,0.1);

    /* Transitions */
    --agrfuxd-transition: 0.3s ease;
}

CSS Classes

  • .agrfuxd-gallery – Gallery wrapper
  • .agrfuxd-gallery-grid – Grid layout
  • .agrfuxd-gallery-masonry – Masonry layout
  • .agrfuxd-gallery-carousel – Carousel layout
  • .agrfuxd-repeater – Repeater wrapper
  • .agrfuxd-repeater-grid – Grid/cards layout
  • .agrfuxd-accordion – Accordion layout
  • .agrfuxd-tabs – Tabs layout
  • .agrfuxd-repeater-timeline – Timeline layout

Privacy Policy

This plugin does not collect, store, or transmit any user data. All content is stored locally in your WordPress database using standard ACF methods.

Credits

Developed by UXD Experts – WordPress experts specializing in user experience and custom development.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums