When a gallery field shows up in the edit post screen, there is the button “add to gallery” to let a user select images from the wordpress media frame.
Would be very useful to have the ability to change the “add to gallery” button label.
Often a user need to have a gallery field but not necessary because he is creating a gallery in frontend. Sometimes you can create a slider, for example with only 4 images, or you can do something else.
In these case a wrong button label could confuse a user (usually the client): for example, the field show the title “Build your slider (select up to 4 images)” but the button that open the wp media frame has the label “Add to Gallery”, and not “Add to slider”.
Please could you take this in consideration.
It would be an important feature.
Thank you very much in advance.
hope to see this feature in the next acf version.
Are there any chances?
Thanks for the feature request.
I’ll add this to my list, but not sure when it would be added in.
For now, please use some jQuery to modify the text like so:
Ok, thank you very much for the suggestion!
More than 2 years have passed since the original request. I would love to have this option in the next version of ACF. Thanks!
When selecting multiple files, we’ve used the gallery field, instead of a file repeater, as this allows for selecting multiple files at once, and gives a nice grouped view of the selected files. Please change the button text to “Add”, or something like that.
Perhaps you guys could create a new “Files” field with the same admin look as Gallery?
Seems like such an easy and arbitrary feature to add. I’ve had many, many, many instances where the word “Gallery” is actually misleading for what content goes in there. I’ve used jQuery to hack up the text onLoad for the sites that are strictly client managed, but that seems like such a long extra step and really unsustainable.
Also, it’d be cool to add this feature to Flexible Content as well as not everything should be phrased as a “layout.”
You’ve had it in your Repeater add-on for years and years. Can’t be that much of a leap to take that logic and apply it to the other field types.
Adding another vote for please making the button text customizable without a jQuery hack. Thanks!
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2020 Advanced Custom Fields. Subscribe