Did you check the Advanced Custom Fields documentation? You can check how the repeater fields work here: https://www.advancedcustomfields.com/resources/repeater/
You’ll see that you can do the following to show your ACF repeater images on the front-end:
if ( have_rows('carousel_repeater') ) :
while ( have_rows('carousel_repeater') ) : the_row();
$yourImage = get_sub_field('carosuel_image');
if ( $yourImage ) :
echo wp_get_attachment_image( $yourImage, 'full' );
endif;
endwhile;
endif;
Above snippet assumes that your Image Field is set to ID. If your Image Field has another return type, see https://www.advancedcustomfields.com/resources/image/.
Related Posts:
- ACF: Only get first row of a Repeater Field
- How to use nonce with front end submission form?
- Display all values of custom a field created with ACF on a page
- Inserting Gravity Form checkbox values into Advanced Custom Fields [closed]
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- WordPress as a backend only. How to output database content on public side without WordPress?
- If Custom Field is empty don’t display div
- Is there a reason why my wordpress PHP page isn’t loading into my PHP template
- Conditional statement for parent, child and grandchild pages
- The values of custom fields are not available functions.php
- Problem with ACF shortcode with Repeater Field in WordPress? [closed]
- Unique key for each row in a repeater field
- How to Explode a Textarea Field and Echo each line separately, wrapped with HTML
- Advanced Custom Fields Image Field returning ID instead of URL [closed]
- Uploading video to google drive via frontend [closed]
- Can an array be used as a meta_query value?
- How to attach a uploaded video to post from front end
- ACF check if variable has http, if else return string
- Advanced Custom Fields: Post Object – Not returning data [closed]
- Looking for most performant way to execute several similar WP queries within shortcodes
- custom shortcode will not display the wrapped content
- Trouble With Conditional Logic in PHP
- Importing hard coded custom field into acf field
- Strip characters, Including spaces, for tel: link
- How can I add multiple ‘tax_query’ arrays via a loop?
- ACF page while loop breaks footer while loop
- Change output based on text field value
- Multiple WordPress Menus that will only display all pages
- Using Advanced Custom Fields to create a per page slider
- Display PHP within HTML values
- ACF: how do I get the fields and its values of a specific group?
- Why do WP_Query results change after updating unrelated Advanced Custom Fields (ACF)?
- Saving an array of dynamic repeater data as post_meta
- Output ACF repeater on frontend user’s profile page (created with Ultimate Member) [closed]
- Remove the first 5 characters of the_title and orderby that
- Unread Repeater field IMG alt not working
- Unable to write multiple values back to ACF user field – PHP
- Update grandchild repeater field with value per row
- How to use thumbnail size of image if I’m only using src to get image
- Slick + PHP + ACF + JQuery slide reveal not working
- WordPress Multiple Navigation bars
- multiple taxonomy select display only one in front end
- Using Select HTML in Bootstrap Popovers
- Sort by page information by Ascending Numbers
- Add class to group inner container
- WordPress style.css not updating, only after theme reload
- Advanced Custom Fields – display label and value only if value entered
- Advanced Custom Fields not displaying
- Download PDF after CF7 form submission
- How to create an ACF shortcode with Repeater Field in WordPress? [duplicate]
- Creating a blog on my companies new website using WordPress but I have sidebar issues
- Upload non-featured image to image field
- HTML Special Characters in URL string [closed]
- ACF put a comma after the last repeater field value [closed]
- Show ACF field with link to ultimate member profile/WordPress user profile below the post (single post layout)
- Form search query – displaying ACF “Post Object” field as results
- InnerBlocks with allowedBlocks not working with acf_register_block
- Accessing values from ACF sub field (flexible content area) in PHP
- Creating an image from a custom field
- Can I set up a hover animation in CSS depending on a PHP conditional?
- Get ACF options field in PHP acting as CSS
- My website is not showing Footer section
- ACF & Bootstrap Gallery Shows Blank Slides [closed]
- Conditional multidimensional arrays and array_map
- ACF Repeater Pagination stopped working since upgrade to php7.2
- How can I count ACF sub_field with a certain value
- what is the method to echo class attribute inside the i tag? [closed]
- Bootstrap Carousel HTML structure and funny output [closed]
- Refactoring long if/else php chains
- Getting taxonomy category Image from ACF [closed]
- create front-end users post list by specific category
- Handling repeater data
- Problem with adding custom CSS class to image in ACF Photo Gallery plugin [closed]
- Posts are not looping through correctly
- Show get_sub_field value if it exists [closed]
- Update post meta – Custom field does not match meta-key
- Advanced Custom Fields [closed]
- Get the featured image url of clicked post
- ACF Unexpected T_CONSTANT_ENCAPSED_STRING [closed]
- Including Custom fields within the_content
- Get All In One SEO Pack to use custom field instead of Content
- Remove Post if Advanced Custom Field is checked to fix paging
- Why in this WordPress theme I can’t see the Main Menu?
- Wp_editor doesn’t send the required data
- Plugin: Front-end Editor – User role specific editable content?
- Update user repeater meta (ACF) with another user meta field value
- Search AJAX Filters – Multiple Query Loops Into One Loop (Optimization)
- Display Post Title From Select Choice Loop in Advanced Custom Fields (ACF) – WordPress
- Add class to all img if they have a certain ACF field
- WordPress navigation wont appear with wp_head
- Foreach loop is unexpectedly outputting an extra empty a tag
- Delete images from media library when user deletes an image from ACF Gallery
- How to store checkbox data for individual users?
- Problems updating nested ACF field groups
- Display acf taxonomy attachment
- Nested Queries of decreasing specificity
- Get main parent category for post (WordPress/Advanced Custom Fields)
- Creating plugin with front-end pages
- ACF: Display Google Map in frontend issues
- How to Create Carousel Indicators in PHP Loop using wp_get_attachment_url function?