Portfolio Demo Blockset is the platform's own block library. Every block on these pages is server-rendered, FSE-native, and used in real demos on the hub. See the platform →Built by Philip Rehberger

SFP-BLOCKS/LISTING-GRID

Listing grid

Server-rendered card grid querying any post type. Reads price / beds / baths / sqft / neighborhood from post meta and renders them as a tidy fact row. Built for Salt & Cedar’s real-estate listings; reusable for any catalog-style CPT (vehicles, equipment, rentals).

Live

Attributes

AttributeTypeDefaultDescription
postTypestring"listing"Which CPT to query
postsPerPagenumber6How many cards to render
columnsnumber3Grid column count
orderbystring"menu_order"Sort field (menu_order, date, title)
orderstring"ASC"Sort direction
taxonomy/termsstring,stringemptyOptional taxonomy filter (slug list)
showPrice/showFacts/showLocationbooleantrueToggle each card row
ctaLabelstring"View listing →"Per-card CTA text

Example markup

html
<!-- wp:sfp-blocks/listing-grid {"postType":"listing","postsPerPage":6,"columns":3,"ctaLabel":"View home →"} /-->
Paste this in any block-editor view (or in a theme template) to drop the block in.