Easy ACF Connect For Themer

Description

Description
Easily connect ACF fields in Beaver Themer. No need to remember the fieldnames, easily select from the dropdown. It returns all fieldnames, across all fieldgroups.

Select the Easy ACF Connector.. Then simply select the fieldname.

Using the Conditional Logic filter
Easy ACF Connect also supports adding conditional rules using ACF Fields on the current post and from your ACF Options pages.

Supported fieldtypes:

  • color-picker
  • checkbox
  • date-picker
  • date-time-picker
  • email
  • file
  • flexible content
  • gallery
  • group
  • image (array, url or image ID)
  • link
  • message
  • number
  • page link
  • password
  • post object
  • radio
  • range
  • relationship
  • repeater
  • taxonomy
  • select
  • text
  • textarea
  • time_picker
  • true_false
  • url
  • user
  • wysiwyg

Please note that field support means that it will return the ACF-value as a variable (object, array, string or number). It’s up to the module to handle the returned variable.

Adding support for more fieldtypes in list
If you use any third party or custom fieldtypes for ACF ( which can be found on https://awesomeacf.com ) you can add those using a filter in your function.php:

add_filter( 'easy_acf_accepted_acf_field_types' , 'my_custom_add_acf_field_types' );

/**
 * Callback that adds one or more fieldtypes to the the easy_acf_accepted_field_types filter
 * @param  {array} $fieldtypes array with name->value, label->value pairs
 * @return {array}
 * @since 1.0.0
 */
function my_custom_add_acf_fieldtypes( $fieldtypes ) {
    $new_fieldtypes =  array(
            array( 'name' => 'custom_fieldtype'         , 'label' => 'Custom Field Type' ),
        );

    $fieldtypes = array_merge( $fieldtypes , $new_fieldtypes );
    return $fieldtypes;
}

version history:

v1.3 added all remaining fieldtypes (flexible content, group, repeater, page link, post object, relationship, taxonomy, user)
v1.2 added Conditional Logic settings
v1.1 added image-size on image fields, tweaked the code, changed way to test for acf 4/5, fixed save_format/return_format for acf 4/5, added textdomain and .pot file
v1.0 image and gallery field support

Screenshots

Reviews

Very Useful

Thank you for this plugin! It's quite a time saver and is super useful to me as I am the king of typos! Seems like a no-brainer that this would be in the core of themer.

Great, should be in core of Themer

Thanks Didou for this great add-on. But in my opinion this should be in the core of Themer. I asked the BB guys a couple of times, until now they did not. So thanks, this one will for sure help many of us.
Read all 3 reviews

Contributors & Developers

“Easy ACF Connect For Themer” is open source software. The following people have contributed to this plugin.

Contributors