Visitar URL original
WordPress dynamic content and query loops - GeneratePress

Design it once.
Your content fills it in.

List any type of content, fill your layouts from each post’s own details, and show blocks only when your rules say so.

The Query block selected over Sedgewell Homes’ listings, its settings showing post type Listings
Sedgewell Homes’ listings two across, each with a photo, address, beds and area, and View listing

List any content, designed your way.

Choose which posts to show with the Query block, design one item with ordinary blocks, and every result uses that layout.

The Query block’s settings with post type Listings, beside two columns of Sedgewell listings
The Query settings: Standard pagination and post type Listings

Titles, images and dates, pulled in for you.

Add a dynamic tag to any text, image or link and it shows that post’s title, date, excerpt, featured image, author or terms.

The Dynamic Tags dialog: excerpt length 55, the post excerpt tag ready to insert, required to render
The Dynamic Tags dialog: Post Excerpt selected, source Current Post

Show blocks only when they apply.

Set a display condition on any block, menu item or popup, such as who’s logged in or which page they’re on, and it appears only when the condition is met.

A condition group matching all of these: if Location is Blog
A display condition: if Location is Blog

Full control of the markup.

Add any HTML attribute to any block, from an aria-label for screen readers to a data attribute for your own scripts.

A Sedgewell listing card beside its View listing button’s HTML attributes: aria-label set to the post title tag, a pending data-trigger of overlay-123
The View listing button’s HTML attributes: aria-label set to the post title tag, a pending data-trigger of overlay-123

Lay out your content with GeneratePress One.

The Query block and the post tags come free with GenerateBlocks. GeneratePress One adds more tags, ACF fields and display conditions.

Get GeneratePress One

30-day refund