When doing some fun stuff with Advanced Custom Fields Pro, we often need to use the field key. Field keys are important because unlike the field title and name, the field key never changes. If you change the field type, title, or name, the key will always stay the same, unless you delete the field itself and create a new one.
It’s really simple….
- In your Dashboard go to Custom Fields > Custom Fields, and choose your field group
- Click ‘Screen Options’ at the top right of your browser window
- Set ‘Show Field Keys’ to ‘Yes’
- See your field keys next to the field number in your group list
Joseph Flowers says
Thanks for showing this! I’m migrating some content from an external source into my wordpress DB and it has custom fields, so I need the field key. this helps a lot.
JiveDig says
Glad it helped!
Nick Meagher says
This took me way to long to find, thank you!
JiveDig says
No prob!
Christyn Pienaar says
THATS RIDICULOUS.. DAMMIT.. why the heck. comon.. i mean comon,, literally found scripts and other resources and then this as usual, simple solutions is best.
I mean COMON!!!!
THANK YOU VERY %!@#%# MUCH SERIOUSLY… CAPS NECESSARY HERE FOR ONCE.. !!!!! :))) XOXOXOXOX
JiveDig says
Glad it helped 😉
Abe says
This little pull down saved me after 30 mins of looking up and finidng just code everywhere – needed this key to map the ACF upload field to the gravity form field and YOU SAVED THE DAY. … why would i ever believe that this is where teh cretin woud be hidden!! THANKS … \
The other comment in all caps took my caps wind out 🙂