Skip to content

Loop Builder

Divi 5.12+ Updated

Scroller Items and Scroller Testimonials support Divi’s Loop Builder, so a scroller can fill itself with your latest posts, products or custom post types.

  1. Add a Scroller with one Scroller Item (or Scroller Testimonial) inside.
  2. Open the item’s settings and turn on Loop Element in the Loop group.
  3. Choose the query, for example Post Type: Posts, and any filters.
  4. Use dynamic content for the item’s fields, for example Post Title for the Text, Featured Image for the Image and Post Link for the link.
Scroller Item with Loop Element turned on and Post Type set to Posts in the Divi 5 builder

On the front end, the item repeats once for every result, and rows, separators and the seamless loop work as usual.

Scroller showing the latest posts with featured images and titles

Builder preview: in the Visual Builder, a looped item shows all its results in one row. The front end shows the exact layout, including rows.

Screenshot