Build a Sermon Archive
A Query Loop is a WordPress block that displays a changing list of posts. Use it for a sermon page that automatically includes newly synchronized episodes.
Prerequisites
Section titled “Prerequisites”Complete the first sync and confirm Episode posts exist.
Create the archive page
Section titled “Create the archive page”- Go to Pages > Add New and enter a page title such as “Sermons.”
- Insert the Query Loop block.
- Choose a starting pattern, then select the outer Query Loop block in List View.
- Turn off Inherit query from template if that option appears.
- In the Query Loop settings, set Post type to Episode.
- Set ordering to Newest to oldest.
- Set how many episodes appear per page.
Design one result
Section titled “Design one result”Inside Post Template, arrange the blocks that should repeat for every episode:
- Post Featured Image, linked to the post
- Post Title, linked to the post
- Post Date
- Post Excerpt
- Post Terms for Channel, Series, or Speaker
Use a Group, Columns, or Grid layout from your theme to organize these blocks. Keep the entire repeated item inside Post Template.
Add pagination
Section titled “Add pagination”After Post Template, keep or insert Pagination with Previous, Page Numbers, and Next blocks. Preview page 2 when you have enough episodes to confirm the query remains filtered to Episodes.
Publish and test
Section titled “Publish and test”- Preview the page at desktop and mobile widths.
- Open an episode title and confirm it reaches the correct episode page.
- Test taxonomy links and pagination.
- Publish the page and add it to the site navigation.
You should now see: a sermon page ordered newest first, with synchronized artwork and details, working episode links, and pagination that remains on Episode content.
Next: Design the Episode Template.