Home › Forums › Backend Issues (wp-admin) › Set image as featured image › Reply To: Set image as featured image
Hi there
Thanks for your swift reply.
One image field was just as an example. (I could use the original WP featured image box, but it is really ugly and would require me to make a new post for each image)
I actually need to use the repeater field, repeating an image field. And have each of the images be set to featured.
So say I have one CPT called ‘gallery’, with a ACF ‘gallery images’ (with a repeater field, with image, title, description)
I only want to add one gallery, one post, with as many images as I want inside that one post, and all set to featured image.
Hope this is a little more clear.
If possible I would like to use the gallery field to do the same thing as well.
The problem I see with the code you supplied earlier in this post was that it only uses a set post and field id. And that would constantly change with multiple images needing to be set to featured.
Any help would be great
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.