How To Build A Custom Post Type Grid and Carousel Layout Using Divi 5 Loop Builder

January 2, 2026 - TechnoCrackers
Blog Icon
How To Build A Custom Post Type Grid and Carousel Layout Using Divi 5 Loop Builder

Divi 5 introduces a powerful Loop Builder that makes it easy to display Custom Post Types (CPTs) dynamically—without writing any code. Using the Group and Group Carousel modules, you can create both grid layouts and carousel sliders that automatically pull content from your CPTs.

In this tutorial, I’ll show you how to build:

  • A Custom Post Type Grid
  • A Custom Post Type Carousel

using the latest Divi 5 theme.

Requirements

  • Latest Divi 5 Theme
  • A Custom Post Type (in this example, Projects)
  • Featured images, titles, and excerpts added to your CPT posts

Step 1: Create a Page with Divi Builder

  1. Go to Pages → Add New
  2. Create a new page
  3. Click Edit with Divi
  4. Add one section
  5. Inside the section, add two rows

We’ll use:

  • Row 1 → CPT Grid
  • Row 2 → CPT Carousel

add-grid-and -carousel

Part 1: Create a Custom Post Type Grid Using Divi 5 Loop Builder

Step 1: Add a Group Module

  1. In Row add a Group module
  2. Inside the Group, add these elements:
    • Image
    • Heading
    • Text
    • Button

This Group will act as a single post template.

add-widget-in-group

Step 2: Enable Loop on the Group

  1. Open Group Settings
  2. Enable Loop
  3. Select Query Type → Post Type
  4. Choose your CPT
    Example: Projects

Once enabled, Divi automatically turns this Group into a dynamic loop.

Carousel Slide Settings

Step 3: Make Elements Dynamic

Now connect each element to loop data:

  • Image
    • Click the dynamic icon
    • Select Loop Featured Image

image-set-daynamic

 

  • Heading
    • Insert dynamic content
    • Select Loop Post Title

heading-daynamic

  • Text
    • Insert dynamic content
    • Select Loop Excerpt

text-daynamic

  • Button
    • Set button link to Loop Link

button-daynamic

This ensures every post displays its own content automatically.

Step 4: Create the Grid Layout

  1. Open Column Settings
  2. Go to Design → Layout
  3. Choose:
    • Grid or Flex layout
    • Set columns (e.g., 3 columns)
    • Adjust spacing as needed

Your Custom Post Type Grid is now ready and will automatically update when new posts are added.

Your Custom Post Type Grid is now ready and will automatically update when new posts are added.

Part 2: Create a Custom Post Type Carousel Using Divi 5 Loop Builder

Now let’s build a carousel using the same CPT.

Step 1: Add Group Carousel Module

  1. In Row 2, add a Group Carousel module
  2. Inside the Carousel Slide, add:
    • Image
    • Heading
    • Text
    • Button

This slide will be reused dynamically for each post.

group-carousel

Step 2: Enable Loop on Carousel Slide

  1. Open Carousel Slide Settings
  2. Enable Loop
  3. Select Query Type → Post Type
  4. Choose your CPT
    Example: Projects

Divi will now duplicate the slide automatically for each post.

group-loop-option

Step 3: Make Carousel Content Dynamic

Assign loop data exactly like the grid:

  • Image → Loop Featured Image
  • Heading → Loop Post Title
  • Text → Loop Excerpt
  • Button Link → Loop Link

This keeps the carousel fully dynamic.

Step 4: Configure Carousel Settings

  1. Open Group Carousel Settings
  2. Adjust Carousel Settings:
    • Slides to Show (e.g., 3)
    • Slides to Scroll (e.g., 1)
    • Transition Speed
    • Enable or disable:
      • Automatic rotation
      • Center mode
      • Navigation arrows

Save your changes.

Your Custom CPT Carousel is now live.

Carousel-Settings

Final Result

  • Row 1: Responsive CPT Grid powered by Divi Loop Builder
  • Row 2: Dynamic CPT Carousel using Group Carousel

Both layouts automatically update when:

  • New CPT posts are added
  • Existing posts are edited

No shortcodes. No custom queries. No PHP.

grid-output

slider-output

Why Use Divi 5 Loop Builder?

  • No coding required
  • Fully visual workflow
  • Works with any Custom Post Type
  • Reusable layouts
  • Faster and cleaner than traditional modules

Conclusion

Divi 5’s Loop Builder makes it incredibly easy to build advanced layouts like custom grids and carousels using dynamic content. By combining Group and Group Carousel modules, you can create powerful, scalable designs that adapt automatically to your content.

If you’re building portfolio sections, project listings, or dynamic blogs—this approach is a game changer.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Contact us

Let's Unleash Your Digital Potential Together.

Address

C-605, Ganesh glory 11, Nr. BSNL Office, Jagatpur Road, S.G. Highway, Jagatpur, Ahmedabad, India - 382481.

Phone

INDIA : (091) 8200639242 USA : +1 (310) 868-6009

Limited Time Offer

X

Try a Free 2-Hour Test Task

Experience our quality, speed, and communication on any small WordPress task before you commit. No contract. No cost. No obligation.
[For New Agency Partners]

"*" indicates required fields

Name*
0
Would love your thoughts, please comment.x
()
x