Home › Forums › General Issues › Many of the same clone in another set of fields › Reply To: Many of the same clone in another set of fields
I changed the article_poster / article_hero fields to ‘group’ instead of ‘clone’ – and made a subfield called ‘image’ and then cloned that.
$poster = get_field('article_poster');
$posterSmall = $poster["small_crop"]["url"];
$posterMedium = $poster["medium_crop"]["url"];
$posterLarge = $poster["large_crop"]["url"];
but my first instant was to access [“image”] – which I didn’t need to do – because the clone just replaces that.
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.