
外掛標籤
開發者團隊
原文外掛簡介
JR Field Generator For ACF is a small helper plugin for developers who use
Advanced Custom Fields (ACF) a lot and are tired of creating big field groups
by hand.
Instead of clicking through the ACF UI for every field, you:
Type the fields you want (one per line, for example Title : text).
The plugin sends this list to the Gemini AI API.
It returns a ready-to-import ACF JSON field group.
You can then import that JSON into ACF and adjust details as needed. The goal
is to turn hours of repetitive field creation into just a few minutes of
simple input and review.
Important: This plugin uses the Gemini API. Your list of field labels and
types is sent to Google’s servers as part of the AI request. Do not include
any sensitive data in the field list.
Features
Simple admin screen under JR Field Generator.
Paste up to 70 fields per generation.
Uses Google Gemini to propose sensible ACF field definitions.
Outputs valid ACF JSON that you can import via Custom Fields → Tools.
Creates a new ACF field group JSON export on each generation run.
Basic sanity checks and server-side validation to avoid broken JSON.
Supports generating ACF field group JSON for a wide range of ACF field types.
How to use
In the WordPress admin, go to JR Field Generator.
In the large textarea, enter your fields, one per line, using this exact format:
Field Label : type
⚠️ Important: You must use the format Label : type (with a colon and space) for the plugin to work correctly.
Example:
Title : text
Description : textarea
Price : number
Product Gallery : image
Booking Status : select
Date of Birth : date_picker
You can enter up to 70 fields per generation. If you need more, split your list into smaller chunks and run the generator multiple times.
Click the Generate ACF JSON button.
Wait a few seconds while the plugin talks to Gemini and builds the JSON.
When it is done, you will see the JSON in the Generated JSON box.
Either:
Copy the JSON, paste it into a file, and save it as .json, or
Click the Download JSON button to download a file directly.
Go to Custom Fields → Tools.
Use the Import Field Groups tool to import the JSON file.
After import, you can edit the generated field group, change the location
rules, rearrange fields, or tweak any details inside ACF as usual.
Limitations
Maximum of 70 fields per generation run.
Input format is critical: You must use the exact format Field Label : type (with colon and space)
for the plugin to correctly parse and generate your fields.
Generated output uses a default location rule (post_type equals post).
You can adjust the group title, location rules, and field settings inside ACF after import.
The plugin depends on the Gemini API being available and your API key having
enough quota.
The AI tries to guess sensible ACF settings, but you are still responsible
for reviewing the result and making sure it matches your project needs.
External Services
This plugin connects to the Google Gemini API to generate ACF field configurations using AI.
The AI reads the field labels/types you provide and returns suggested ACF-compatible JSON that you can review before import.
Service: Google Gemini (Generative Language API)
Purpose: To generate field group JSON based on user input.
Data Sent:
* Field descriptions entered by the user
* API key (stored locally, used for authentication)
When:
* Only when user clicks “Generate Fields”
No data is stored on our servers.
Terms of Service:
https://ai.google.dev/terms
Privacy Policy:
https://policies.google.com/privacy
