Title: ACF Feeds for Gravity Forms
Author: Alex Chernov
Published: <strong>2021 年 8 月 4 日</strong>
Last modified: 2021 年 8 月 11 日

---

搜索插件

![](https://ps.w.org/acf-feeds-for-gravity-forms/assets/banner-772x250.png?rev=2577576)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/acf-feeds-for-gravity-forms/assets/icon-256x256.png?rev=2577576)

# ACF Feeds for Gravity Forms

 作者：[Alex Chernov](https://profiles.wordpress.org/alexusblack/)

[下载](https://downloads.wordpress.org/plugin/acf-feeds-for-gravity-forms.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/acf-feeds-for-gravity-forms/#description)
 * [评价](https://cn.wordpress.org/plugins/acf-feeds-for-gravity-forms/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/acf-feeds-for-gravity-forms/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/acf-feeds-for-gravity-forms/#developers)

 [支持](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/)

## 描述

Use this plugin to update an ACF field(s) when Gravity Form is submitted. You also
can accumulate value in a certain field (only fields of type `Number` supported 
at the moment).

Features:

 * Target a wide range of WP entities: page, post, custom post, user, term, taxonomy,
   widget, comment, options page, current page/post.
 * Use GF merge tags in the ACF Target field
 * Simply map ACF and GF fields in one-to-one, one-to-many or many-to-many relations
 * Use operations on ACF fields to modify currently stored values
 * Number fields support +, – and * math operations
 * All text compatible fields support + operation to join strings
 * ACF field targets support merge tags
 * Implement complex logic with conditional feeds

Any GF field compatible with string/number values should work. Tested GF fields:
Single line text, Paragraph Text, Drop Down, Number, Checkboxes, Radio Buttons, 
Website, Email.
 Any ACF field compatible with string/number values should work.
Tested ACF fields: Text, Text Area, Number, Range, Email, Url, Password, Select,
Checkbox, Radio Button, Button Group, True / False

Example use cases:

 * Count number of submissions
 * Remember name/login/email of the last user who submitted the form
 * Make a simple page like feature
 * Save name of a last sold product

## 屏幕截图

[⌊Complex feed example: dynamic target, add & subtract accumulators, conditional
feed⌉⌊Complex feed example: dynamic target, add & subtract accumulators, conditional
feed⌉[

Complex feed example: dynamic target, add & subtract accumulators, conditional feed

[⌊Simple feed example: Likes counter accumulator. GF settings prevent multiple likes
from a single user⌉⌊Simple feed example: Likes counter accumulator. GF settings 
prevent multiple likes from a single user⌉[

Simple feed example: Likes counter accumulator. GF settings prevent multiple likes
from a single user

## 安装

 1. Upload `gravity-forms-acf-feeds` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. In Gravity Form select `ACF Feeds` settings
 4. Create a new ACF Feed
 5. Enter ACF target selector or leave it empty for the current/post page
 6. Map you form fields to ACF fields of your target

## 常见问题

### How I can target the page where my form is located?

Leave the target field empty, empty field means current page/post.

### How can I add/subtract a number to an ACF field instead of overriding it?

Add + or – before the ACF field name in the mapping settings.

### Can I target page/post/user dynamically?

Yes, the `Target` field supports merge tags, so you can pass target ID from your
form. It can come from a [dynamically populated GF field](https://docs.gravityforms.com/using-dynamic-population/)
too.

## 评价

![](https://secure.gravatar.com/avatar/9755c4986c49ffdce93356743cd61ee1ea8744c1faf74014ff759ae20a7c12d1?
s=60&d=retro&r=g)

### 󠀁[WOW Works like a charm!](https://wordpress.org/support/topic/wow-works-like-a-charm/)󠁿

 [bernardberry646](https://profiles.wordpress.org/bernardberry646/) 2021 年 9 月
4 日

With all of the functionality that Gravity Forms and ACF have they missed a MAJOR
one! This allows you “update” ACF Fields just by mapping that ACF field to a Gravity
Forms field in your form! Works just like expected and easily setup, no custom code
needed in function.php like so many other solutions! Thank you so much @alexusblack
for your knowledge & contribution to the community!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/reviews/)

## 贡献者及开发者

「ACF Feeds for Gravity Forms」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Alex Chernov ](https://profiles.wordpress.org/alexusblack/)

[帮助将「ACF Feeds for Gravity Forms」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/acf-feeds-for-gravity-forms)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/acf-feeds-for-gravity-forms/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/acf-feeds-for-gravity-forms/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/acf-feeds-for-gravity-forms/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/acf-feeds-for-gravity-forms/)。

## 更新日志

#### 1.0.1

 * Support + (concatenation) operation for all string compatible ACF fields
 * Support + (addition) operation for all number compatible ACF fields
 * Allow merge tags in ACF field names. Can be used for dynamic operations or to
   change target ACF field based on the form data.
 * Code refactoring

#### 1.0.0

 * Initial release with basic functionality

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**5 年前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 5.4.0 或更高版本 **
 *  已测试的最高版本为 **5.8.0**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/acf-feeds-for-gravity-forms/)
 * 标签
 * [acf](https://cn.wordpress.org/plugins/tags/acf/)[advanced custom fields](https://cn.wordpress.org/plugins/tags/advanced-custom-fields/)
   [feed](https://cn.wordpress.org/plugins/tags/feed/)[gravity forms](https://cn.wordpress.org/plugins/tags/gravity-forms/)
   [integration](https://cn.wordpress.org/plugins/tags/integration/)
 *  [高级视图](https://cn.wordpress.org/plugins/acf-feeds-for-gravity-forms/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/reviews/)

## 贡献者

 *   [ Alex Chernov ](https://profiles.wordpress.org/alexusblack/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/acf-feeds-for-gravity-forms/)