WP Manifestindependent plugin directory
manifest / builders / wp-elementor-post-gallery-picker

Post Gallery Picker

WordPress + Elementor: per-post Media Library gallery field, custom HTML captions, Single Post Gallery widget and shortcodes — no automatic content injection.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/aliabbas-2012/wp-elementor-post-gallery-picker/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Adds a custom field on post edit screens to pick multiple images from WordPress Media Library (Featured Image style). Use Elementor Shortcode widget to place the gallery anywhere without modifying post content.

Description

This plugin creates a media-gallery meta field (stored as post meta) that lets you pick multiple images from Media Library. It opens the same WP media popup style as Featured Image, but supports multiple images.

Saved meta key:

  • _pgp_gallery_image_ids (comma-separated attachment IDs, e.g. 21,45,90)

Frontend output includes each image with optional attachment caption/description.

You can also render the block manually with the shortcode: [pgp_gallery] or [pgp_image_gallery]

Installation

  1. Copy the folder post-gallery-picker into your WordPress wp-content/plugins/ directory.
  2. Activate the plugin from WP Admin -> Plugins.

Elementor Usage

You can render this in Elementor in two common ways:

  1. Shortcode widget (recommended)
  • Add Shortcode widget with [pgp_gallery] (current post).
  • Or specific IDs: [pgp_gallery ids="21,45,90"]
  1. Dynamic custom field
  • Use custom field key _pgp_gallery_image_ids.
  • The meta is registered in REST (show_in_rest = true) for compatibility with modern builders/plugins.

Filters

  • pgp_supported_post_types (array): Post types that get the custom field. Default is post.
  • pgp_render_gallery (string|null): Override gallery HTML output.

Changelog

1.1.0

  • Replaced gallery post object picker with Media Library multi-image picker.
  • Added Featured Image style media popup on post edit.
  • Added admin preview thumbnails.
  • Saved gallery IDs in _pgp_gallery_image_ids.
  • Added Elementor-friendly usage docs.

1.1.1

  • Fix: prevent fatal errors when Elementor is not loaded yet.

1.0.0

  • Initial version.