When I am developing themes, I often prefer to write the markup first then create the custom fields based on the field names I have used in my PHP/HTML.
It would be really handy to have the Field Label auto-populate from the Field Name if the Field Label is empty. This would enable me to copy the field name from my template file and get a field labelled based on a capitalised, underscores removed, version of the field name. I.e. copy hero_image from template into ACF UI field_name text field and it populates the field label with “Hero Image”.
Viewing 1 post (of 1 total)
The topic ‘Make Field Labels auto populate from Field Name’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users