Home › Forums › ACF PRO › Connect ACF to Featured Image. › Reply To: Connect ACF to Featured Image.
What I do is that I create an image field. I use “Featured Image” as the field label and “_thumbnail_id” as the field name. Then in the settings for the field group I hide the WP featured image box. When adding an image this way it automatically becomes the featured image without any coding. You can either get the image using ACF functions or the WP functions that deal with the featured image.
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.