I was wondering if it is possible to migrate field data from multiple image fields into a repeating image field on mass for a post type.
We initially created the field group with multiple (up to 8) image fields, however we are experiencing a few issues so would like to change to using a single repeating image field.
However due to the large number of posts, we're trying to see if there is a way to migrate the data in one go.
Do you have any suggestions on how to go about this?
You have up to 8 image fields—each with their own slug—assigned to posts, and you just want to convert them all to use the same slug, i.e. so there would be multiple instances of the same image field, is that right?
If so I can help you craft a script.
There would be repercussions for your templates, i.e. how you display the images, for example, but you are aware of that?
Sorry for asking in this space. I was wondering if there's a way to limit the number of instances in a repeating field. For instance, allow only 5 images uploads in a repeating field.