My intention of this post is to help anyone looking for a solution to set a featured image for ACF custom post types. This post may even pop up for future reference if they are lucky! 🙂
As a beginner, I have spent hours on search engines to find a simple solution for this issue so that I could avoid any coding.
Below are the simple 2 steps I discovered.
- Create an image field within ACF fields Group
- Use “Featured Image” as the field label and “_thumbnail_id” as "Field Name“
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.
I have no knowledge of coding and this whole process. I believe there are many people like me learning step by step everyday. Ciao!
Huh? Featured images are a default and inherit part of any post type? You don’t need to add an additional field [https://imgur.com/a/yZKkxEV](https://imgur.com/a/yZKkxEV)
Don’t do that. Add theme support for featured images.