Loop element

Blog grids, team pages, and event listings from one WordPress query loop. You design a single card once, and every post or custom field fills it in on its own.

Thumbnail of Mosaic Builder's How to Add Dynamic Content to WordPress video, reading "Show dynamic content", with Featured image, Category, Title and Avatar fields linked to a blog post card built with a WordPress query loop
Turn a static section into a dynamic loop

Set up a Loop, connect its variables to posts and categories, filter it and lay it out as a grid, then reuse the same loop in an archive template and a single job page.

Ready in every theme

Blank, Monolith, and Gibraltar ship post grids and blog archives in their block libraries, from simple card rows to search bars and pagination. Here are twelve.

What your loops can show

Each card below is a real Loop on this page, running over our own blog, its categories and showcase sites, plus a few sample events and team members.

Newest post leads the grid

One loop shows the latest blog post, and a second one with an offset of one lists the next two.

Sample events
NOV
8
Design meetup
Studio 2 · 6 pm
NOV
20
Design meetup
Studio 2 · 6 pm
NOV
8
Design meetup
Studio 2 · 6 pm
Events in date order, soonest first

Order by your event date field, so the soonest date leads and dates sort as dates, not as text.

You are reading
SEO agency Yudena scales to 3-4 new pages a day with Mosaic
Related posts
Send us your site, get a ten minute teardown

Paste your address and we record a short video walking through the three things we would change first.

Consent
Related posts without the one you read

One filter rule leaves the article you are reading out of the related posts listed below it.

Sample team
Emma Clarke
Designer
Ben Turner
Developer
Mia Shaw
Project lead
Tom Reed
Support
Didn’t find what you’re looking for?
Consent
A team page from one repeater

Each row of an ACF Repeater becomes a card, so name, role, and photo fill in on their own.

We design great digital products
Services
Showcase
Jornes

By Jornes · Staff pick

Sofia

By Sofia · Staff pick

Sergio

By Sergio · Staff pick

Staff picks, chosen with a tick

Tick Staff pick on a showcase site, and a filter on that field puts it here, with no filter plugin.

Drop us a line

Amet facilisis amet vitae euismod porta diam id. Quisque sapien vel lobortis mollis. Ornare ut eget urna varius iaculis.

Website design
UX design
Brand identity
SEO & analytics
Blog categories as cards

A taxonomy loop lists our blog categories instead of posts, each with its own post count.

Built on the content you have

A loop works with the content your WordPress site already holds, so every card is built from your posts and fields, with no placeholders and no code.

WordPress query loop in the Mosaic Builder editor, a Latest posts grid where the first post's title is selected and the dynamic data list is open with post variables such as Title, Excerpt, Publish date, Author display name and Categories

One item, every post

Style the first item once, and every post in the loop takes the same layout, each with its own title, image, and fields.

  • Pick a title, image or excerpt with the dynamic data icon

  • Trim excerpts and format dates with built-in functions

  • Show each post’s author and categories on its card

Your post types and fields, built in

Post types from ACF, SCF, Meta Box, or your own code become loop sources, and their fields become variables.

  • Read fields from options pages, users and menus too

  • Use ACF free or PRO, Secure Custom Fields or Meta Box

  • Skip the shortcodes and the PHP snippets entirely

The Loop Type picker in the Mosaic Builder editor with Filtered team members selected, listing Filtered posts, pages, media, case studies and team members under Configurable post type, and categories, tags and formats under Configurable taxonomy, next to a team member card showing a location field
A case study template in the Mosaic Builder editor with a Project team loop selected, an ACF Relationship field listing three team members with photo, name and role, the Navigator showing the nested loop and the Loop settings open on the right

Fields that become loops

Relationship, Gallery, Group, and Flexible Content fields turn into loops of their own, each with its own variables.

  • List the posts a Relationship field points to

  • Render each Flexible Content layout its own way

  • Show the posts connected with MB Relationships

Real posts while you design

Insert a loop and your real post data appears on the canvas, so you style the grid with real titles, images, and lengths.

  • Load a real post or archive into a template from the context bar

  • Set the grid columns for each breakpoint in the Style tab

  • Save the finished loop as a component and reuse it

A category archive template in the Mosaic Builder editor with the context bar's Load content list open on the Design category, and the query loop below filling the grid with that category's real posts, titles and images

Pick exactly what the loop lists

A few settings decide which records reach your card, from the source you start with to the conditions, the number of records per page, and the empty state.

Any source

Posts, pages, media, categories, tags, menu items and each Meta Box custom model too.

Filters in groups

Join conditions with AND inside a group and OR between groups, on most fields your posts carry.

A designed empty state

Fill the No result element with your own text or images for the times a loop has nothing to show.

Records per page

Decide how many records each page of the loop shows, from a short row of three to a full archive.

Loops inside your other elements

The same loop logic runs inside the elements visitors browse and open, so one designed slide, tab, or row repeats for every record you choose to show.

Loop tabs in the Mosaic Builder editor, one template tab repeated for the Design, Development, Inspiration and Tutorials categories, with the Navigator showing Loop tabs and Loop tab panes and each tab pane filled with that category's posts
Loop slides

Posts or testimonials become slides, all built from one template slide.

Loop tabs

A tab for every post or category, generated from one template tab.

Accordion items

An FAQ post type turns into accordion items that open and close.

List items

A list of links or terms that grows on its own as you add more.

Elements that pair with loops

A loop is only as good as the card inside it. These are the elements you will reach for on that card and around it, each with its own guide to the settings it offers.

Questions about loops

What you may want to know before you build your first loop, from plans and other field plugins to live filters, nested loops, archive pages, and WooCommerce.

Which plans include the Loop element?

Personal, Creator, and Agency all include it, each with all Pro features, and the pricing table lists the custom loop builder and custom post type support on every plan.

Your cookie preferences

We use cookies to improve your experience, analyze traffic, and personalize content. By clicking "Accept all" you agree to storing them on your device. Read our privacy policy.