Post Grid

Show your posts as cards readers can filter and browse.

Posts, pages or products as cards in a grid or masonry — ten skins, a lead story, a category filter and load-more, infinite or numbered pagination without a page refresh, with real links that work without JavaScript.

Gutenberg block

Requirements

  • The block editor (Gutenberg)
  • WordPress 6.5 or newer
  • PHP 7.4 or newer
  • Licence: Pro ($2 / year) — add it to the cart in Moduly

Add it to a page

  1. Open the page or post in the block editor.
  2. Click + (Block Inserter) and search for Post Grid — it is in the Moduly category.
  3. Insert it, then fill in its content on the canvas. Ready-made presets appear when you insert it, and later under Transform to in the block toolbar.
  4. Adjust it in the right sidebar: the Block tab holds the settings below, and the Styles tab its colours, typography and spacing.

Settings

Posts

SettingWhat you can set
SourceText
Posts per page1–48
Order bydate, modified, title, comment count, menu order, rand or post in
OrderDESC or ASC
Only in these termsText
Leave out these termsText
Related byterms, category, post tag or author
Publishedany, week, month, quarter or year
Skip the first posts0–20
Leave out the post being viewedOn / off
Only posts with a featured imageOn / off
Sticky posts firstOn / off
DateOn / off
Message when there are no postsText

Layout

SettingWhat you can set
Layoutgrid or masonry
Columns1–6
Columns on tablets (≤ 1024 px)1–6
Columns on phones (≤ 600 px)1–4
Column gap (px)0–80
Row gap (px)0–80
Equal card heightsOn / off
Highlight the first postOn / off
Lead size2×2, 2×1 or full
Lead card skinText
Cards entrancenone, rise or fade

Card

SettingWhat you can set
Skinclassic, hawai, standard, monastic, stylica, outbox, crossroad, overlay, … (10 in all)
Image sizemedium, medium large, large or full
Image shape1 / 1, 4 / 3, 3 / 2, 16 / 9, 21 / 9, 3 / 4, 4 / 5 or auto
Image on hovernone, zoom, zoom out, gray, tilt or bright
Card on hovernone, lift, shadow or accent
Text alignmentleft, center or right
Title tagh2, h3, h4, h5, h6, div or p
Title lines (0 = all)0–5
ExcerptOn / off
Excerpt length (words)3–120
Excerpt lines (0 = all)0–8
Read more linkOn / off
Read more textText
Read more stylelink, button, outline or underline
Open posts in a new tabOn / off
Whole card is a linkOn / off
Alternate sidesOn / off
Image width (%)20–70
Show the excerpt on hoverOn / off
Card height (px)160–700
Image edgemountain, wave, curve, tilt, torn, splash, zigzag, cross, … (10 in all)
Flip the edgeOn / off
Corner radius (px)0–40

Badge and meta

SettingWhat you can set
Category badgeOn / off
Badge positionimage tl, image tr, image bl or above
Badges per card1–3
A colour per categoryOn / off
Date box on the imageOn / off
AuthorOn / off
Author photoOn / off
CommentsOn / off
Reading timeOn / off
CategoriesOn / off
Meta iconsOn / off
Meta positionabove, below or footer
Separatornone, dot, slash, pipe or dash
Date formatdefault, M j, Y, j M Y, Y m d or relative

Category filter

SettingWhat you can set
Filter barOn / off
Filter byText
Buttons, in this orderText
Number of automatic terms1–20
“All” buttonOn / off
“All” labelText
Post countsOn / off
Stylepills, underline, boxed, segmented, minimal or dropdown
Alignmentleft, center or right
One scrolling row on phonesOn / off
Alignmentleft, center, right or between

Pagination

SettingWhat you can set
Paginationnone, numbers, prev next, both, load more or infinite
Page limit (0 = all)0–50
Previous labelText
Next labelText
Button labelText
All loaded messageText
Scroll back to the grid on page changeOn / off
Accent (badges, links, active filter)Colour
TitlesColour
Text and metaText
Card backgroundColour
Overlay shadeText

Styles tab: typography and spacing, from WordPress's own design tools.

Tips

  • Start with the Layout choice — it changes the overall look the most; fine-tune the rest afterwards.
  • Visitors who ask their device for reduced motion get a calmer, still version automatically.
  • Not sure where to start? Insert one of its presets and edit from there.

Troubleshooting

  • The signed attributes are printed on the page (in data-attrs) when a filter or AJAX pagination is used. They contain only display settings, nothing private.
  • Two grids with identical settings on one page share the same address key (iwp-<id>) for no-JS paging. Changing any setting gives a different key.
  • The stylesheet (about 30 KB) loads as a file rather than inline.
  • A change not showing on the live site is almost always a page cache — clear your caching plugin or host cache.
  • Also available for Elementor (Post Grid), Divi (Post Grid).
  • Works well with: Card, Content Switcher, Feature List.