Two shortcodes. One renders a saved display; the other queries the library inline without saving anything.

Missing display id.

the saved displayoverride any layout keyoverride how many
Any display setting can be overridden on the page, for that page only.

jmzg_gallery

100 items
Designing Mobile-First Layouts
Designing Mobile-First Layouts
extended-saturday-hours-demo.webp
extended-saturday-hours-demo.webp
guinea-pig-essentials-demo.webp
guinea-pig-essentials-demo.webp
understanding-titer-testing-demo.webp
understanding-titer-testing-demo.webp
wide-listFree
text-abovePro
spotlightPro
pinboardFree
news-listFree
minimal-textFree
magazineFree
lead-storyFree
hero-sliderFree
featured-gridFree
featured-grid.webp
featured-grid.webpPro
colour-blockPro
clean-cardsPro
classic-blogFree
card-carouselPro
Snipaste_2026-10-04_13-58-48
Snipaste_2026-10-04_13-52-44
Snipaste_2026-10-04_13-48-47
Card
Understanding the difference between WordPress posts and pages
Understanding the difference between WordPress posts and pagesVideos / Screenshot, Wordpress, Youtube

Renders saved display 1. Every setting on that display can be overridden inline, and the override applies to this one placement — the saved display is untouched.

100 items
Image Galleries That Load Fast
Image Galleries That Load Fast
Custom Fields for Everyday Sites
Custom Fields for Everyday Sites
Elementor vs the Block Editor
Elementor vs the Block Editor
elementor-vs-the-block-editor-demo.webp
elementor-vs-the-block-editor-demo.webp
Building Post Grids Without Code
Building Post Grids Without Code
Backups You Will Actually Restore
Backups You Will Actually Restore
Speeding Up a Slow WordPress Site
Speeding Up a Slow WordPress Site
Choosing a Theme That Grows With You
Choosing a Theme That Grows With You

Which means one display can serve a full gallery page, a three-across strip on the homepage, and a compact eight-photo block in a sidebar, all from the same saved settings.

Display keys you can override

Which itemsfilters, search, kind, orderby, order, limit
Layoutstyle, columns, gap, radius, crop, link, list_layout, list_cols, list_ratio
Captionscaptions, caption_pos, cap_sep, cap_val_sep
Visitor controlsfilter_bar, search_box, sort_box, kind_box, pagination, per_page
Procaption_layout, cap_before, cap_after, cap2_before, cap2_after, cap_font, cap_size, cap_color, cap_weight, cap_italic and their cap2_ equivalents, bg, card_bg, hover_effect, hover_strength, hover_speed, hover_tint, multi_download, dl_label

jmzg_media

An ad-hoc gallery with no saved display behind it. Any field key becomes a filter, and any display key sets the layout.

Nothing found.

Nothing found.

Nothing found.

It defaults to 12 items, no pagination, and no visitor controls. Good for dropping a handful of relevant photos into an article. For anything you will reuse or restyle later, save a display instead — a shortcode you have to find and edit in six places is a shortcode you will get wrong in one of them.

Block theme templates

Two more shortcodes exist for building custom archive and single templates in the Site Editor:

100 items
Designing Mobile-First Layouts
File Name: Designing Mobile-First Layouts
extended-saturday-hours-demo.webp
File Name: extended-saturday-hours-demo.webp
guinea-pig-essentials-demo.webp
File Name: guinea-pig-essentials-demo.webp
understanding-titer-testing-demo.webp
File Name: understanding-titer-testing-demo.webp
File Name: wide-listInfo Free
File Name: text-aboveInfo Pro
File Name: spotlightInfo Pro
File Name: pinboardInfo Free
File Name: news-listInfo Free
File Name: minimal-textInfo Free
File Name: magazineInfo Free
File Name: lead-storyInfo Free
File Name: hero-sliderInfo Free
File Name: featured-gridInfo Free
featured-grid.webp
File Name: featured-grid.webpInfo Pro
File Name: colour-blockInfo Pro
File Name: clean-cardsInfo Pro
File Name: classic-blogInfo Free
File Name: card-carouselInfo Pro
File Name: Snipaste_2026-10-04_13-58-48
File Name: Snipaste_2026-10-04_13-52-44
File Name: Snipaste_2026-10-04_13-48-47
File Name: Card
Understanding the difference between WordPress posts and pages
File Name: Understanding the difference between WordPress posts and pagesInfo Videos / Screenshot, Wordpress, Youtube

They render the body of the archive page and of a single item page respectively, so you can wrap them in your own header, footer and layout blocks.

Notes

  • Attribute values with spaces need quotes: album="Italy 2019".
  • Several values for one filter are separated by a comma: people="Ana,Bea".
  • captions takes a comma-separated list of field keys, with title allowed alongside them.
  • Both shortcodes work anywhere shortcodes work: the block editor’s shortcode block, a classic editor, a text widget, Elementor’s shortcode widget, or a template through do_shortcode().
  • Assets load only on pages that actually contain a gallery.