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

Admin Columns for ACF Fields

설명

Use this plugin to show ACF fields in the “All Posts” table view in the WordPress admin backend.

Simply enable the new option “Admin Column” in your ACF field settings for any regular field (see exceptions below). Now there will be an extra column for your field shown in any overview of posts, pages, taxonomies or your custom post types or taxonomies (e.g. “All Pages”).

You can use filters (see below) to control the plugins behaviour even more precisely.

Works on any regular ACF field (see exceptions below).

Compatible with Advanced Custom Fields 5.x

Github: https://github.com/fleiflei/acf-admin-columns

Usage:

  1. Install ACF and this plugin (see below)
  2. In ACF open/create your “field group” within ACF and note the post type that this field group applies to (at the bottom).
  3. Open any field for editing (see exceptions below).
  4. Enable the “Admin Column” option in the field settings.
  5. Enable post types and/or taxonomies for which the column should be shown.
  6. Save the field group and go to the overview page of the post type or taxonomy (e.g. “Posts > All Posts”, or “Pages > All Pages”) that you noted above and notice the newly added column for your field.

Advanced Usage

Excluded ACF Fields

Due to their nature the option “Admin Column” is not shown in ACF for these fields:

  • Accordion
  • Clone
  • Flexible Content
  • Google Map
  • Group
  • Message
  • Repeater
  • Tab

Filters

“acf/admin_columns/admin_columns”

Allows you to change which columns are displayed on the current admin screen.

Parameters
$fields – Array of all ACF fields to be shown in current screen.

Example:

function my_admin_columns($fields) {
  $fields['my_field'] = 'my_field';
}
add_filter('acf/admin_columns/admin_columns','my_admin_columns');

“acf/admin_columns/sortable_columns”

Change which columns should be sortable. By default every column is sortable.

Parameters
$columns – Array of all ACF fields to be shown in current screen.

“acf/admin_columns/column/$field”

Allows you to modify the output of a certain $field in every row of a posts table.

Parameters
$field_value – The field value

스크린샷

  • Example of various admin columns for Posts

  • New settings within the ACF field settings UI

설치

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Open ACF and enable “Admin Column” in any fields settings section.

FAQ

None yet, feel free to ask.

후기

2021년 5월 29일
Very useful, does exactly what it needs to. Very easy to set up, the new ACF field options look native. Works with the current version of WP (5.7) and ACF Pro (5.9.5). You can use CodePress' Admin Columns plugin if you need more control over the column order & width. The only things it's missing is hooks/filters, and better support for image fields (as there's no way to change the preview size -- but this could be fixed on your side if hooks were added).
2020년 10월 7일
Works well - using it for WooCommerce Products with an ACF field.
2020년 8월 4일
Perfect and free like ACF, thanks mate! I wanna ask, if there a way to customize output html for some columns? I want instead of value show an line actions with ajax update functionality. May be some hook?
모든 9 평가 읽기

기여자 & 개발자

“Admin Columns for ACF Fields”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Admin Columns for ACF Fields”(을)를 번역하세요.

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

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

변경이력

0.1.2

Release date: 17.12.2019

  • Fix: error in plugin when using Customizer preview in WP backend (see https://github.com/fleiflei/acf-admin-columns/issues/3)
  • Fix: field values are now always shown unless the field is really empty (see

0.1.1

Release date: 27.11.2019

  • Fix: disable plugin for AJAX requests (see https://github.com/fleiflei/acf-admin-columns/issues/2)
  • Documentation: screenshot added, formatting and content updates