October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk5 min

How to Add Multiple Galleries in WordPress Posts and Pages

Add as many separately curated galleries as your content needs using independent Gallery blocks, Classic Editor media galleries, or ID-based shortcodes—no plugin required.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can place several separate image galleries in one WordPress post or page without a plugin. In the Block Editor, insert a Gallery block at each location and give every block its own images and settings. In the Classic Editor, use Add Media → Create a Gallery each time, or insert separate shortcodes with explicit image IDs.

Choose the workflow that matches your editor

Editor or method How you add each gallery Best for
Block Editor Insert one Gallery block per location, then select that block’s images and display options. Posts and pages with galleries between headings, paragraphs, or other blocks.
Classic Editor media workflow Place the cursor, choose Add Media → Create a Gallery, insert it, and repeat elsewhere. Sites still using the Classic Editor and visual media-uploader controls.
Classic shortcode Insert a separate shortcode for each gallery; use an ids list for a curated set. Shortcode-based content or templates needing explicit image selection.

WordPress’s built-in tools handle ordinary, manually selected galleries. A plugin is not required. The core documentation does not state a product-imposed maximum number of galleries on a post or page. Gallery block Classic Editor gallery guide

Add multiple galleries in the Block Editor

1. Insert the first Gallery block

  1. Open the post or page in the Block Editor.
  2. Click where the first gallery should appear.
  3. Open the Block Inserter with the + button and search for Gallery, or type /gallery in an empty block. WordPress also provides an in-content plus button for inserting a block. Work with blocks
  4. Choose Upload to add files or Media Library to select existing images. You can also drag multiple images into the Gallery block.

2. Build and arrange that image set

Select the images for this gallery only. Use the image move controls or List View to change their order. Captions and descriptions can be edited as part of the gallery’s image settings.

3. Configure the block’s display

Select the parent Gallery block, rather than an individual image, to expose its block settings. Depending on your WordPress version and theme, documented controls include:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Columns: from one to eight, limited by the number of images.
  • Image resolution: choose the available generated image size.
  • Crop and aspect ratio: make thumbnails uniform or preserve more of each image.
  • Alignment: use the alignment options your theme supports, including wide or full width when available.
  • Captions: add or display text for the gallery images.
  • Link behavior: choose no link, an attachment page, the media file, or Enlarge on click for the Gallery block’s lightbox option.

These settings belong to this Gallery block, so changing them does not merge it with another gallery. Gallery block

4. Insert the next gallery at its own position

  1. Click after the paragraph, heading, image, or other block where the second gallery belongs.
  2. Insert another Gallery block.
  3. Upload or select a different group of images and arrange them independently.
  4. Set this block’s columns, crop, resolution, captions, links, and alignment as needed.

Repeat those steps for every additional location. Galleries can sit between text sections because each one is an independent block. If the order is wrong, select a Gallery block and use its move handles or up/down controls; List View can also help locate and reposition blocks. Work with blocks

5. Preview before publishing

Use Preview (or the site’s responsive preview) to check the order, spacing, captions, cropping, and lightbox behavior at the widths your visitors use. Publish only after each gallery contains the intended images.

Add multiple galleries in the Classic Editor

The Classic Editor has a separate media-uploader process; its buttons are not Block Editor controls.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Place the cursor where the first gallery should appear.
  2. Click Add Media.
  3. Select Create a Gallery.
  4. Upload images or choose them from the Media Library, then rearrange the selected images.
  5. Set the available gallery links, columns, image descriptions, and captions, and click the button to insert the gallery.
  6. Place the cursor at the next location and repeat the process with a new image selection.

The Classic Editor documentation specifies that a gallery can stand alone, appear above or below text, or sit within the text flow. The WordPress Gallery (Classic Editor)

Use separate gallery shortcodes when you need exact image sets

The basic shortcode is . Without an ids argument, WordPress documents it as displaying images attached to the current post or page. That behavior may include more images than the group you intended.

For a curated set, provide the image IDs explicitly:

The numbers above are documentation examples. Replace them with the IDs of images in your own Media Library. Add one shortcode at each desired position, using a distinct ID list for each gallery:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.


Text between galleries.

Confirm every ID in the Media Library before publishing. Galleries – Theme Handbook

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Manually curated galleries versus Dynamic Gallery

Type Image source When it fits
Regular Gallery block You deliberately choose the images in that block. Separate project sections, portfolios, events, or any fixed collection.
Dynamic Gallery variation Images attached to the post; the gallery updates when another image is attached. Attachment-driven content where automatic updates are wanted.

The Gallery block documentation describes Dynamic Gallery as an alternative and allows it to be detached into a regular gallery. It is not necessary for creating several separately curated galleries. Gallery block

Troubleshoot common multiple-gallery problems

The second gallery shows the wrong images

In the Block Editor, select the affected Gallery block and replace or reorder only its images. In a shortcode gallery, inspect the shortcode for an explicit ids list. If ids is absent, the documented attachment-based behavior may be the reason unrelated images appear. Galleries – Theme Handbook

Both galleries have the same layout

Layout controls are per Gallery block. Select the parent block for each gallery and set its own columns, crop, aspect ratio, resolution, alignment, captions, and link behavior. Wide and full-width choices depend on theme support. Gallery block

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Images do not open in a larger view

In the Gallery block’s link settings, choose Enlarge on click for the documented lightbox behavior. This differs from linking to the media file or an attachment page. Gallery block

The galleries are in the wrong order

Use the Block Editor’s block handles, up/down controls, or List View to move an entire Gallery block. In the Classic Editor, cut and paste the inserted gallery or shortcode at the correct cursor position, then preview the result.

When a plugin makes sense

Choose a plugin only when the requirement goes beyond several hand-picked galleries—for example, automatically generating grids from posts or WooCommerce products and offering visitor-facing taxonomy filters. The WordPress.org listing for Filterable Post Gallery describes that specialized block and reports version 1.1.0, fewer than 10 active installations, compatibility with WordPress 6.8 or higher, and testing through 7.0.6 at the time of access on September 30, 2026. Those are changeable, vendor-maintained directory claims, not a requirement or endorsement for ordinary galleries.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
  2. Cupertino desk5 min
    Apple Unveils AirPods Max 2: The Upgrade That Should Have Happened Years AgoAirPods Max 2 adds H2-powered audio features and Apple claims up to 1.5× more effective ANC, but its design, Smart Case, and 20-hour battery rating are unchanged. Wired lossless audio…
  3. Cupertino desk4 min
    Apple’s OLED Touch MacBooks Are Coming—but the Dynamic Island Is the Real GambleApple has not announced an OLED touchscreen MacBook, but reports point to high-end models arriving in late 2026 or early 2027. The reported Mac Dynamic Island could be useful, but…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.