Loop Grid: 12 Columns and Smart Alternate Templates for Any Query

October 18, 2026
·
Shahidul Islam
Loop grid widget for Elementor showing a two column template grid

Every post grid widget makes the same bargain: you get a card, and the card has the fields the developer chose. Image, title, excerpt, date, maybe a button. If you want the category badge in the corner of the image instead of above the title, you do not want a control, you want a different card. That is where widget based grids run out.

A loop grid inverts the arrangement. You build the card once, as a normal Elementor template, with whatever widgets and layout you like, and the grid repeats it across a query. There is no field list, because there are no fields. There is a template, and it renders once per post with that post’s data.

Loop grid in Elementor showing two columns of template cards
Two columns, each item built from one loop template.

Where a loop grid fits

  • Editorial home pages. A feature card, then five smaller cards, all from one query.
  • Portfolio and case study indexes. Cards that carry a client logo, a metric and a result, which no field based grid offers.
  • Product catalogues. A card with a badge, a price block and a custom field, built exactly as designed.
  • Team and directory pages. Photo, role, location and a link out, from a custom post type.
  • Event listings. A date block on the left of every card, which needs layout, not a toggle.
  • Resource libraries. A card with a file type icon driven by a custom field.

Why a template beats a field list

Field based post gridLoop grid
Card designthe fields the widget offersany Elementor layout
Custom fieldsif the widget supports themany dynamic tag
Changing the cardhope for a controledit the template
Two card stylestwo widgets, two queriesone grid, alternate templates
Reuserebuild per pageone template, many grids
Columnsusually up to fourone to twelve, per breakpoint

The reuse row is the one that pays off over a year. A loop template is a document: edit it once and every grid using it changes. A field based grid has to be reconfigured everywhere it appears.

Loop grid at four columns on a dark section
Four columns on a dark section, same template repeated.

The features that matter

One to twelve columns, per breakpoint. The Columns control is responsive and defaults to three on desktop, two on tablet and one on mobile. Twelve exists for the cases where the card is a chip rather than a card.

Alternate templates inside the same run. Switch on the alternate template option and you can add a second template with a Position in grid value, so item four, or every fourth item, uses a different card. Apply Once decides whether it happens once or repeats.

Column span for feature items. An alternate template can take a Column Span from one to twelve, which is how you get a wide feature card at the top of a grid without building the section twice.

The free query builder. The Query tab is the same one the free widgets use: post type, taxonomy terms, order, offset and pagination. Anything you can express there, the loop grid will render.

Real dynamic content in the card. Because the card is a template, every widget inside it takes dynamic tags, which means custom fields, taxonomy terms, author data and post meta all render per item.

Row and column gaps as separate controls. Both responsive, so a dense grid on desktop can breathe on a phone without changing the column count.

Loop grid with a wide card template and a compact list template
A wider card template at two columns.

How to build a loop grid in six steps

  1. Build the card first as a loop template, using dynamic tags for the title, image and any custom fields.
  2. Preview the template against a real post so the dynamic tags resolve before you go near the grid.
  3. Drop the loop grid widget onto the page and pick that template in Select Template.
  4. Set Columns per breakpoint, then the row and column gaps.
  5. Open the Query tab and set the post type, terms, order and posts per page.
  6. If the design calls for a feature item, switch on the alternate template, pick the second template, set its position and give it a column span.

Design the template at the width it will actually render. A card built full width in the template editor and then dropped into a four column grid will have type that is far too large, and you will spend an hour blaming the grid.

Loop grid at three columns on desktop and one on mobile
Three columns on a desktop, one on a phone.

What changes on the page

The immediate change is that the card stops being a compromise. Whatever the designer drew is what renders, including the parts no post grid widget has ever offered, like a price bracket built from two custom fields or a ribbon that only appears when a checkbox is ticked.

The longer change is maintenance. Field based grids accumulate: a home page grid, a category grid and a related posts grid, each configured separately, each drifting apart over time. A loop grid points three placements at one template, so the cards stay identical because they are literally the same document.

Planning the columns

Column counts are where a grid either reads as designed or as a spreadsheet, and the responsive control makes it tempting to set three numbers and move on.

Start from the card, not the screen. A card with a heading, three lines of text and a button needs roughly three hundred pixels to stay readable. Divide your content width by that and you have the honest maximum column count, which on a typical eleven hundred pixel container is three.

Use the higher counts for cards that are genuinely small. Six, eight or twelve columns are right for logo tiles, category chips, colour swatches or author avatars, where the card is an image and a word.

Drop to one column earlier than you think on tablets. Two columns at seven hundred pixels gives each card about three hundred and forty pixels including the gap, which is tight for anything with a button.

Keep the gaps proportional. A small gap on a dense grid of chips reads as one block; the same gap on three large cards reads as crowding. Row gap usually wants to be a little larger than column gap, because vertical rhythm is what tells the eye where one row ends.

Getting the template right

The template is where the work lives, so a few things that save time.

Set the template’s own width and padding as if it were a card, not a page. The grid gives it a column; the template should not be adding its own outer margins on top.

Use a container with a fixed aspect ratio for the image. Posts have inconsistent featured images, and a grid where every card is a different height because one photograph was portrait looks broken even though nothing is wrong.

Guard the optional parts. If a custom field is empty on some posts, the widget showing it should be set to hide when empty, otherwise the card renders a gap where the value would have been.

Keep the link on the whole card, not only on the title. A card that is clickable only on five words of text is a card people fail to click.

Check what happens when the query returns nothing. An empty grid should be a sentence, not a blank section, so consider placing the widget inside a container that also holds a fallback message.

One thing to know: if the template is deleted or the id no longer exists, the editor warns you but the front end simply renders empty items. Deleting a loop template is not a local decision, so check where it is used first.

Loop grid with an alternate template dropped into the run
An alternate template dropped into the run of the grid.

Loop grid: common questions

Which plugin is the loop grid in?

It is a Pro widget, in Sky Addons Pro. The query builder it uses is part of the free plugin.

Does it need Elementor Pro?

No. It needs Elementor and Sky Addons Pro. The loop template is a Sky Addons template, not an Elementor Pro one.

Can I use two card designs in one grid?

Yes. That is what the alternate template option is for, with a position, a repeat setting and a column span.

Does it support pagination?

Yes. The pagination toggle is in the Additional section and uses the query’s posts per page.

Does it work with custom post types and custom fields?

Yes. The query builder lists every public post type, and the card is a template, so any dynamic tag works inside it.

Build the card once

A post grid is only as good as its card, and most cards are a list of fields somebody else chose. Building the card as a template and repeating it across a query removes that ceiling entirely, and the alternate template option means one grid can carry two designs.

Try it on the loop grid demo, read the documentation, and compare it with the free post list widget if a field based card is all the page needs. For the same idea in a sliding layout, see the showcase flow widget. What is free and what is Pro is set out on the free versus Pro page and the pricing page. The query controls map onto WP_Query, and the layout is built on CSS grid.

Written by
Shahidul Islam
Writes about the work behind the widgets — what shipped, why, and what it cost.
Share
In this post

More from the journal

Elementor Smooth Scroll: Page Motion That Feels Finished

Elementor Smooth Scroll: Page Motion That Feels Finished

Sky Addons smooth scroll replaces stepped scrolling with eased motion, fixes anchor offsets and respects reduced motion, all from one toggle in Advanced.
Elementor Custom Hooks: Put a Section Anywhere on the Site

Elementor Custom Hooks: Put a Section Anywhere on the Site

Custom hooks attach an Elementor template to a hook point, with display conditions deciding the pages and a priority deciding the order it renders in.
Elementor Archive Template: One Layout for Five Screens

Elementor Archive Template: One Layout for Five Screens

One Elementor archive template covers the blog index, category, tag, author and date screens, with search opt in and a scope you set per post type.

Comments are closed.