跳到内容

Lnsel Post Gallery Lightbox

v1.0.5

TeamLNSEL · 2026年8月10日 上架

Upload images per-post and display them as a responsive Grid or Masonry lightbox gallery using the [lnsel_gallery] shortcode.

正在使用
10 以下
评分
暂无
累计下载
397
最近更新
2026年10月16日
需要 WordPress 5.8+已测试到 7.0.9PHP 7.4+

贡献者

截图

The "Post Gallery Images" meta box in the WordPress post editor.
The "Post Gallery Images" meta box in the WordPress post editor.

Lnsel Post Gallery Lightbox lets you upload a dedicated set of gallery images to any post or page via a custom meta box in the WordPress editor. Those images are then displayed on the front end using the [lnsel_gallery] shortcode — with a smooth lightbox, keyboard navigation, touch swipe support, and a choice of Grid or Masonry layout.

Key Features:

  • 📷 Custom “Post Gallery Images” meta box on every post/page edit screen
  • 🖼 Drag-and-drop image reordering in the editor
  • ⚡ Choose between Grid (uniform tiles) or Masonry (Pinterest-style) layout
  • 🔍 Built-in lightbox with arrow navigation, keyboard ( Esc), and touch swipe
  • 📱 Fully responsive — 4 3 2 1 columns at breakpoints
  • 🙈 Gallery section is completely hidden when no images are uploaded
  • 🔌 Works with Elementor via the Shortcode widget
  • No jQuery dependency on the front end — pure vanilla JS

Usage

Basic:
[lnsel_gallery]

Grid layout, 3 columns:
[lnsel_gallery layout=”grid” columns=”3″]

Masonry layout, 3 columns:
[lnsel_gallery layout=”masonry” columns=”3″]

All available attributes:

  • layout — grid or masonry (default: grid)
  • columns — 2, 3, or 4 (default: 3)
  • size — thumbnail, medium, large, or full (default: large)
  • gap — gap between images in px, number only (default: 10)
  • show_title — yes / no to override the per-post lightbox caption setting
  • show_bottom_image — no to hide the bottom image (default: yes)
  • bottom_size — image size for the bottom image (default: full)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums