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

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.

安装

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

评价

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.
阅读所有3条评价

贡献者及开发者

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

贡献者