I was hoping you could help me with displaying ACF repeater images from a Post to a Page e.g. homepage.
Goal: Create a Recent Posts cards carousel on homepage. Each individual Post has e.g. 3 images from an ACF image repeater field.
Steps I took:
I created an ACF repeater field group called News
I created a repeater called image
I created an image subfield called img
I added 3 images each to 2 sample posts
I’d like my Posts to have more than one image so am using an ACF image repeater instead of the single Featured Image in WP.
I tried the examples on https://www.advancedcustomfields.com/resources/repeater/ but they don’t return the image.
Not sure if you can pull images from a Post to the home page. Do I need to use get_field maybe?
Do you have an example of repeater content used in Posts being displayed in a Page e.g. home page
Viewing 1 post (of 1 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