Cette extension n’a pas été testée avec les3 dernières versions majeures de WordPress. Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs de compatibilité quand elle est utilisée avec des versions récentes de 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

Captures d’écran

  • 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

Avis

13 août 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.
Lire les 3 avis

Contributeurs & développeurs

« ACF Code Generator » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « ACF Code Generator » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.