Skip to content

Create A Bootstrap 4 Carousel Slider With ACF Image Repeater

Create a Bootstrap 4 carousel slider of images with ACF Pro Repeater field in WordPress. There are a few options in that the carousel can be plain, add navigation and add a caption, 4 examples can be seen below.


Create the ACF Repeater fields for Bootstrap carousel.

Bootstrap Carousel Acf


Here an image and text field are created, assign the field group to a post or page and populate the repeater rows.

Acf Populate Carousel Fields


Add the ACF Repeater Bootstrap Carousel Code

There are 5 code snippets above, expand to see the code, they are a plain carousel slider, a slider with navigation and indicators and carousel with text captions, the PHP counter increment variable is used throughout.
Ensure you have unique IDs per slider.

Add more options to the slider either via data attributes or Javascript.

Leave a Comment

Scroll To Top