이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

ACF Repeater & Flexible Content Collapser

설명

If there are a lot of rows within a Repeater or Flexible Content field, you need to scroll a lot to get to the field you want to edit and it is not easy to find the right one. Also, it is difficult to change the order of the rows.

The ACF Repeater & Flexible Content Collapser plugin solves this problem and add a button to collapse or expand all rows at once.

ACF Repeater & Flexible Content Collapser works in Repeater and Flexible Content Fields and even if they are nested. And the plugin works in all layout modes – no matter whether it is a table, block or row layout.

After plugin activation you get additional settings when you create an ACF Repeater or Flexible Content field.

You can specify whether all fields of this field group are automatically collapsed when the page is loaded. And you can choose whether the button is only displayed with an icon or with the icon and a text.

This plugin works with the ACF PRO (version 5.5.0 or higher) AND Advanced Custom Fields (version 5.7.0 or higher with either the Flexible Content Field or Repeater Field add-on).

Localizations

  • English
  • Deutsch

스크린샷

  • Additional settings for Repeater and Flexible content fields
  • Works even if Repeater and Flexible Content fields are nested and in all layout modes

설치

  1. Upload the acf-repeater-flexible-content-collapser folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done!

FAQ

After collapsing Repeater fields, I can’t expand a single repeater row

This is because ACF adds collapsing/expanding functions of a repeater row only if a sub field is specified in the settings of the repeater field to show when row is collapsed.

If there’s no sub field set in the Collapsed setting for the repeater field you can’t expand/collapse a single row.

I don’t know, if this is a feature or a bug and reported this in the ACF support forum.

In some cases, you may not have a field that should be displayed in the collapsed state. There’s a workaround to solve this problem:

  1. Create a text field in the repeater, doesn’t matter what you call it
  2. Set this field as the field to show
  3. Delete the field you just created and selected
  4. Save the field group

Unfortunately, this bug does not seem to be fixed in the near future:
“This needs to be repeated whenever you modify the field group, and it’s probably not a good idea to depend on bugs, but I’m guessing that this one isn’t going to be corrected any time soon, especially if no one reports it since it not breaking anything.”

후기

2018년 9월 24일
I’m using ACF to make my own “page builder”. Using ACF this way means a lot of fields and things get out of hand pretty quickly with clients missing the big picture. This plugin solves that problem with a neat collapse button.
2017년 10월 13일
This is very handy if you are dealing with large pages with nested repeaters. Keep up the good work!
모든 4 평가 읽기

기여자 & 개발자

“ACF Repeater & Flexible Content Collapser”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“ACF Repeater & Flexible Content Collapser”(이)가 1 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “ACF Repeater & Flexible Content Collapser”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

v1.2.8

  • PHP 8 Support

v1.2.6

  • Big fixes

v1.2.5

  • Big fixes

v1.2.4

  • Fixes for WP 5.5

v1.2.3

  • Optimized code to show collapse button

v1.2.2

  • Optimized for ACF Free version

v1.2.1

  • Fixed: Class wrapper is no longer overwritten

v1.2.0

  • Added option to show/hide the collapse button in field settings

v1.1.0

  • Changed class name to prevent future conflicts with ACF

v1.0.2

  • Update “Tested up to” version.
  • Fixed z-index of toggle button.

v1.0.1

  • Fixed CSS of toggle button for new ACF 5.6.

v1.0.0

  • Initial release of this plugin, tested and stable.