Admin Columns for ACF Fields

Allows you to enable columns for your ACF fields in post and taxonomy overviews (e.g. "All Posts") in the WordPress admin backend.

Author:Florian Eickhorst (profile at wordpress.org)
WordPress version required:4.6
WordPress version tested:5.3.3
Plugin version:0.1.2
Added to WordPress repository:09-10-2019
Last updated:17-12-2019
Rating, %:100
Rated by:5
Plugin URI:https://wordpress.org/plugins/acf-admin-colum...
Total downloads:3 760
Active installs:1 000+
plugin download
Click to start download

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


Screenshots
FAQ
ChangeLog