This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

ACF Code Generator

Description

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

Screenshots

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

Installation

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

Reviews

August 13, 2022
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.
Read all 3 reviews

Contributors & Developers

“ACF Code Generator” is open source software. The following people have contributed to this plugin.

Contributors

Translate “ACF Code Generator” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.