外掛標籤
開發者團隊
原文外掛簡介
Pninja Media Gallery gives you total control over your image galleries. Create stunning responsive
galleries in seconds and embed them anywhere with a simple shortcode.
Key Features
Grid Layout — clean, uniform image grid with configurable columns (1–6)
Masonry Layout — Pinterest-style flowing layout that fills empty space naturally
Lightbox — click any image to view it full-screen with keyboard navigation
Albums / Gallery Groups — organise images into named galleries
React SPA Admin — fast, modern admin UI with instant feedback
REST API — full CRUD API at pninja-media-gallery/v1 for headless use
Developer-friendly — action/filter hooks throughout, PSR-4 autoloading, RTK Query
Shortcode
`
[pninja_gallery id=”1″]
[pninja_gallery id=”1″ layout=”masonry” columns=”4″ lightbox=”true”]
`
Shortcode Parameters
id — (required) Gallery ID
layout — grid (default) or masonry
columns — Number of columns, 1–6 (default: 3)
lightbox — true or false (default: true)
Contributing
Contributions are welcome! The plugin is developed openly on GitHub:
https://github.com/plugininja/pninja-media-gallery
