Archives from a block pattern - Verba
Build the archive layout once as a block pattern, put a Post Listing block in it, and assign the pattern to every archive in Theme Options. The Elementor route works the same way in a different editor.
#Build it
Create the pattern
In the block editor, build the archive layout as you want it: a header area, your listing, anything else the page should carry. Save it as a pattern.
Add a Post Listing block
Insert the Post Listing block where the posts belong. This is the part that fills with content.
Turn on Archive Mode
In the block's query settings, turn on Archive Mode.
Step three is where everybody gets stuck. Without Archive Mode, the listing runs its own query, so every archive on your site shows the same fixed set of posts.
With Archive Mode on, the listing takes its posts from the page it's on: a tag's posts on a tag page, a category's on a category page, the results on a search page. Only sorting and the post count stay adjustable, and one pattern can serve every archive. Setting up an archive from scratch explains the query behind it.

Everything else about the block works as usual. See Listing settings and query and Customizing the look of a listing.
#Assign it
Go to VerbaTheme OptionsArchiveGeneral, set Archive Source to Block Pattern, and pick yours under Block Pattern. Switching between the four sources loses nothing: your saved patterns and templates stay where they are.

#When it's worth it
A pattern pays off when the archive needs a layout you can't assemble from settings, or when you already work in the block editor.
If everything you want is available in Advanced archives, use that instead. You maintain a pattern by hand, while settings survive updates on their own.
My pattern shows the same posts on every archive
Archive Mode is off on the Post Listing block inside it. Turn it on. It's the only common failure of this setup.
Can I use a different pattern for one category?
No. Archive Source applies to every archive at once.
Last updated
Was this article helpful?
- Basic settings in the Customizer
- Set up dark mode
- Site layout: default, boxed, or wide
- Colors, fonts, and style kits
- Breadcrumbs
- Theme Options: the advanced settings panel
- General: site behavior
- General: optimization
- SPA and page transitions
- Content zones and insertions
- Blog: how posts are presented
- Before you go: the exit-intent banner
- Floating card: a post that follows the reader
- Marketing surfaces and analytics
- Accessibility settings
- Object-level settings
- Category fields
- Tag fields
- Author profile fields
- Widget areas
- Page fields and per-page layout
- Post fields
- Writing a post in Verba
- Single post settings in the Customizer
- Advanced single post settings in Theme Options
- Post formats
- Building a post from a block pattern
- Building a post with an Elementor template
- Post header styles
- Reading aids: how the four blocks work
- TL;DR summary
- Key points
- Table of contents
- Summarize with AI
- Reading bar
- Sharing: placements, styles, and copy link
- The share block in the post footer
- Continuous reading: the next post without a click
- Likes, views, and comment voting
- Related posts and read also
- Sources and citations
- Splitting a long post across several pages
- Comments
- Formatting the body of an article
- Archives in the free theme
- The posts page: showcase and featured author
- Advanced archives
- Archives from a block pattern
- Archives from an Elementor template
- Post and term listings
- Listing settings, group by group
- Where listings are used
- Listing settings and query
- Customizing the look of a listing
- Search results, the 404 page, and protected posts
On this page