This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Advanced Custom Fields Repeater & Flexible Content Fields Collapser

Description

The Repeater and Flexible Content Field features make ACF really powerful, but if you have more than a few fields with either, they becomes unwieldy to sort. This plugin collapses each instance of the repeated fields—only for the “Row” layout—to allow for easy sorting.

To help identify each repeater field group when collapsed, the first field of each repeated field group is shown. See the screenshots for an example.

Requirements:

Other contributors:

Screenshots

  • Even with a few fields per repeater instance, it becomes unwieldy to sort.
  • This plugin collapses all but the rows first field for easy sorting. (Only "Row Layout" fields are supported.)
  • Once collapsed, easily reorder your rows!
  • The plugin supports nested repeaters.
  • Flexible fields too!
  • New in v1.3.0, you can collapse individual fields! (Thanks to Angie Meeker Designs for sponsoring this feature.)

Installation

  1. Download the plugin.
  2. Upload all files to /wp-content/plugins/
  3. Activate the plugin on the Plugins page.

FAQ

Installation Instructions
  1. Download the plugin.
  2. Upload all files to /wp-content/plugins/
  3. Activate the plugin on the Plugins page.
Where is the “Collapse Rows” button? I don’t see it.

The plugin only supports the “Row” layout for repeaters.

Why don’t rows collapse? / Why is the row only grayed out?

To help identify each repeater field group when collapsed, the first field of each repeated field group is shown. See the screenshots for an example.

When possible, use a short field (like a text field or dropdown) as the first row in a repeatable fieldset.

Can I collapse individual rows?

Now you can, as of version 1.3.0.

What exactly is the “Collapse All Rows” button behaviour

With the addition of the ability to collapse single rows, the button now is always in “Collapse” mode unless all rows are collapsed. Then it’s “Expand.”

Reviews

སྤྱི་ཟླ་དང་པ། 25, 2018
I can only see a "Collapse All Rows" button and it's half overlapped by the field below it. There is no way to collapse individual rows. I'm using ACF 5.6.7
སྤྱི་ཟླ་དགུ་པ། 3, 2016
If you use repeater fields this is a must have for the sanity of your site admins. Docked a star because many people have requested they default to a closed position, but nothing has been done to make it so. Tack this into the last line of your plugin's js files: $('button.field-repeater-toggle-all').click();
སྤྱི་ཟླ་དགུ་པ། 3, 2016
My client asked for this exact functionality for a repeater field that has a ton of subfields. The plugin works PERFECTLY and has a much more polished UI than I would have had time to throw together. Thank you so much for this!!
Read all 14 reviews

Contributors & Developers

“Advanced Custom Fields Repeater & Flexible Content Fields Collapser” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.5.0

  • [ACF v4] – Style fixes and new icons
  • [ACF v5] – New JS so Collapse All & Expand All now works again

1 June 2016

  • Added adopt-me tag. Please contact me if you’re interested.

1.4.3 (15 Oct 2015)

  • THIS UPDATE DOES NOT FIX THE PLUGIN WITH ACF 5.3.1. IT IS PURELY FOR FUTURE TRANSLATION FEATURES REQUIRED BY THE PLUGIN REPOSITORY.
  • [i18n] Add text-domain and make all strings translatable for upcoming translate.wordpress.org plugin migration.

1.4.2 (7 Sep 2015)

  • [Fix] Include compatibility filter to fix in ACF PRO since v5.2.7.
  • [Fix] Prevent fatal error if ACF is not activated.
  • [Misc] Code cleanup. Thanks to robneu on GitHub.

1.4.1 (19 Nov 2014)

  • [Fix] Pass event to collapsing JS functions to prevent Firefox errors.
  • [Fix] No margin on table-layout fields (ACF5 only)
  • A big thanks to @tmconnect for the pull requests that made up this release.

1.4.0 (15 Aug 2014)

  • [New] ACF5 Support
  • [Fix] aria-controls attribute fix
  • Note: The plugin supports both ACF4 and ACF5; however, all future feature improvements will only be made for ACF 5.X.
  • Did this plugin save you some time or help build a site for a client? Buy me a beverage!.

1.3.0 (18 Jul 2014)

  • [New] Ability to collapse single fields
  • [New] Added aria-expanded / aria-controls attributes on rows for improved accessibility
  • [Tweak] Clarified button text and added icons to buttons for improved UI
  • [Fix] Fixed errant closing tag on element
  • Thank you to Angie Meeker Designs for sponsoring this update’s new individual row collapsing feature!
  • Thank you to @61pixels and @lagdonkey for bug reports during development.

1.2.0 (22 Apr 2014)

  • [New] Support for nested repeater and flexible field content. (Thanks to @philiphetue)
  • Use element in admin for cleaner markup
  • Update “Tested up To” to 3.9

1.1.0 (11 Apr 2013)

  • [New] Support for “Flexible Content Fields” add-on thanks to @weskoop.

1.0.2 (9 Apr 2013)

  • Fixed missing semicolon. Presumably source of update issue.

1.0.1 (9 Apr 2013)

  • Fixed mismatched filenames.

1.0 (8 Apr 2013)

  • Initial commit. Submitted to plugin repository.