I know there is a way to upload an image to an ACF field and then have it become teh featured image, but is there any way to connect the featured image to an ACF field? I am making a Digital Asset management system. Whenever a photo is uploaded to WP, I have a way to automatically create a new post and then make the image a featured image. I then have the Media Library Assistant pull ACF fields from the image. But I need to get the featured image to be an ACF image field to show up on the post. Any ideas are appreciated.
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.
Viewing 3 posts - 1 through 3 (of 3 total)
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