Patterns & archive template

Seven ready-made layouts to start from, and a template that turns every Gallery Category into a gallery page of its own.

Patterns

Open the inserter, go to Patterns → Galleries and click one to insert it. Every pattern is made of regular blocks, so change anything afterwards.

PatternWhat you get
Photo portfolioFilter chips with counts above a masonry gallery of your photos, by Gallery Category, with a lightbox.
Filterable portfolioA category filter above a masonry gallery of posts, with a lightbox.
Travel journalA heading and intro, photos in justified rows, a quote and a carousel of more photos.
Food menuDishes as square photos with name and price below, filtered by course with theme-styled links.
TeamA portrait grid with names below, filtered by department. Link each photo to a profile page.
Hero carouselA full-width carousel of wide photos that advances on its own.
Latest posts carouselRecent posts as a carousel: featured image with the title below.

The patterns that show photos use a Gallery Media Query, so they fill with your site’s own images right away. Afterwards, select the Media Query and choose which categories it shows.

Gallery Category archive template

Every Gallery Category has an archive at /gallery-category/<slug>/. In block themes, Gallery Z provides a Gallery Category Archive template for it (gallery-z//taxonomy-gallery_z_category):

  • the category’s name as the title,
  • its description,
  • one masonry gallery with a lightbox holding the category’s images (a Media Query with Use the archive’s category) and its posts (a Query Loop that inherits the archive query).

So a category page is a gallery page with no extra work: tag photos and posts “Architecture”, and /gallery-category/architecture/ shows them all.

Customize it

Edit the template in Appearance → Editor → Templates → Gallery Category Archive: change the layout, captions or lightbox like any gallery, or add blocks around it. If your theme ships its own taxonomy-gallery_z_category template, the theme’s template wins.

The template needs WordPress 6.7 or newer (it uses register_block_template). Classic themes use their regular taxonomy archive.