Title: ACF Code Generator
Author: Deepak anand
Published: <strong>2021 年 4 月 9 日</strong>
Last modified: 2021 年 7 月 21 日

---

搜索插件

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

![](https://ps.w.org/acf-code-generator/assets/icon-256x256.png?rev=2513505)

# ACF Code Generator

 作者：[Deepak anand](https://profiles.wordpress.org/deepakanand767/)

[下载](https://downloads.wordpress.org/plugin/acf-code-generator.zip)

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

 [支持](https://wordpress.org/support/plugin/acf-code-generator/)

## 描述

This plugin is intended to continue the development of the “ACF Theme Code” plugin
as there are no updates for that plugin for the last 12 months(for three major WP
updates).

Always look into the ACF (Advanced Custom Fields) documentation to get the different
types of ACF fields?

Forget the documentation. This tinny WordPress plugin can generate all the code 
for you so that you don’t need to roam here and there to search the code of the 
ACF plugin.

Check the screenshots for more details.

### Code can be generated for the following fields:

 * Text
 * Text Area
 * Number
 * Range
 * Email
 * URL
 * Password
 * Image
 * File
 * WYSIWYG
 * oEmbed
 * Select
 * Checkbox
 * Radio Button
 * Button Group
 * True / False
 * Link
 * Post Object
 * Page Link
 * Relationship
 * Taxonomy
 * User
 * Google Map
 * Date Picker
 * Date Time Picker
 * Color Picker
 * Group

## 屏幕截图

[⌊This is how the code will look in the custom fields section.⌉⌊This is how the 
code will look in the custom fields section.⌉[

This is how the code will look in the custom fields section.

## 安装

Just like other plugins, this plugin can also be installed using the normal installation
steps given below:

 1. Upload the plugin files to the `/wp-content/plugins/acf-code-generator` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## 评价

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

### 󠀁[Doesn’t work](https://wordpress.org/support/topic/doesnt-work-2914/)󠁿

 [Rula89](https://profiles.wordpress.org/rula89/) 2022 年 11 月 22 日

Doesn’t work with ACF Version 6.0.4

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

### 󠀁[Original plugin is still maintained](https://wordpress.org/support/topic/original-plugin-is-still-maintained/)󠁿

 [Tony G](https://profiles.wordpress.org/starbuck/) 2022 年 8 月 13 日

According to @benpearson, his original ACF Theme Code plugin is still maintained.
See thread in Support for that plugin, “Still Supported?” from 2021-10-05, and his
most recent note in Support (as of now) on 2021-12-21. It doesn’t look like Deepak
Anand here knows that, or just didn’t want to tell anyone. So I’m downvoting as 
a way to lower the overall rating and drive new users back to the original code 
base, which is where I’m going. While adopting a plugin is always a nice gesture,
in this case, and for now, it seems premature, and this plugin is not necessary.

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

### 󠀁[Good job](https://wordpress.org/support/topic/good-job-1571/)󠁿

 [thierryramirez](https://profiles.wordpress.org/thierryramirez/) 2022 年 3 月 21
日

Perfect plugin for ACF.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/acf-code-generator/reviews/)

## 贡献者及开发者

「ACF Code Generator」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Deepak anand ](https://profiles.wordpress.org/deepakanand767/)

[帮助将「ACF Code Generator」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/acf-code-generator)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**5 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **5.8.13**
 *  PHP 版本 ** 5.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/acf-code-generator/)
 * 标签
 * [acf](https://cn.wordpress.org/plugins/tags/acf/)[code generator](https://cn.wordpress.org/plugins/tags/code-generator/)
 *  [高级视图](https://cn.wordpress.org/plugins/acf-code-generator/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/acf-code-generator/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/acf-code-generator/reviews/)

## 贡献者

 *   [ Deepak anand ](https://profiles.wordpress.org/deepakanand767/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/acf-code-generator/)