Mai Grid Gallery
A responsive, stylish, and lightweight grid gallery with lightbox support
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/maithemewp/mai-grid-gallery/archive/refs/heads/main.zipFrom the readme
Mai Grid Gallery
A responsive, stylish, and lightweight grid gallery block for WordPress with lightbox support.
Features
- Native WordPress Block: Built using the WordPress Block Editor API
- Image & Video Support: Supports both images and videos in the gallery
- InnerBlocks Integration: Uses WordPress InnerBlocks for drag-and-drop reordering
- Max Visible Items: Limit how many items are visible initially (with lazy loading support)
- Focal Point Picker: Adjust focal points for images within the gallery
- Lightbox Support: Integrated with GLightbox for image/video viewing
- Editor Controls: Toggle visibility of extra images in the editor
- Responsive Design: Automatically adapts to different screen sizes
- Wide & Full Alignment: Supports wide and full width alignments
Requirements
- WordPress 6.7 or higher
- PHP 8.2 or higher
- Node.js and npm (for development)
Installation
1. Clone this repository to your WordPress plugins directory:
2. Install dependencies:
3. Build the assets:
4. Activate the plugin through the WordPress admin panel.
Development
Build Commands
- npm run build - Build assets for production
- npm run start - Start development mode with watch capabilit