Home › Forums › Backend Issues (wp-admin) › Set WordPress excerpt and post thumbnail based on custom field › Reply To: Set WordPress excerpt and post thumbnail based on custom field
You’re the best @foyle !!!!
Thank you so much for sharing your code! It works perfectly for the excerpt.
I just got an issue with the featured image. I don’t use a special image field, I use a gallery field for images. Can you please tell me how can I grab the first image from the gallery and used in your $post_image_field ?
Thank you so much!!!
Gabriel
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.