Blog
Notes on galleries.
Practical articles about Gallery Z: styling it, switching to it, building with it – and why it stays small.
-
Custom styles for Gallery Z
Style Gallery Z from your theme: the Theme button and Theme link filter styles, your own filter style with register_block_style, caption looks through CSS variables, a custom hover effect and theme.json per-block styles. Four tested examples.
-
Switching from Envira, NextGEN, Modula or FooGallery
How the Gallery Z importer moves Envira, NextGEN, Modula and FooGallery galleries into draft pages: what carries over, what doesn’t, the replacement shortcodes, WP-CLI, and what the plugins cost.
-
Why a gallery doesn’t need jQuery in 2026
A native dialog lightbox, scroll-snap carousels, CSS grid and masonry, scroll-driven reveals: how Gallery Z starts at 3 KB of JavaScript, and what it measures on a 100-photo page.
-
Filterable portfolios with posts and images in one gallery
A step-by-step tutorial: one Gallery Z gallery with project posts, hand-picked images and a Media Library query, one category filter for all of them, and links that open the page already filtered.
-
Letting AI agents build galleries: the Abilities API
Gallery Z registers four WordPress abilities: list categories, find images, tag images and create a gallery page. What each does, the REST routes and methods, permissions, and practical uses.