Trailblaze Gallery
Custom WordPress photo gallery plugin with ACF integration, carousel navigation, and lightbox functionality.
by Trailblaze Creative · github.com/trailblaze-creative/trailblaze-gallery · website
★ 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/trailblaze-creative/trailblaze-gallery/archive/refs/heads/main.zipReadme
Trailblaze Gallery
Custom WordPress photo gallery plugin with ACF integration, carousel navigation, and lightbox functionality.
Features
- ACF Pro Integration: Uses repeater fields with nested gallery fields for easy management
- Multiple Galleries: Support for multiple galleries per page with unique shortcodes
- 3x4 Grid Layout: Configurable grid with 2, 3, or 4 columns
- Carousel Navigation: Page-based navigation through gallery images
- Lightbox: Full-featured lightbox with:
- Thumbnail strip navigation
- Keyboard navigation (arrow keys, Escape, Space for slideshow, F for fullscreen)
- Slideshow mode
- Fullscreen support
- Social sharing buttons
- Responsive Design: Mobile-friendly layout
- Lazy Loading: Images load as needed for better performance
Requirements
- WordPress 5.0+
- PHP 7.4+
- ACF Pro (Advanced Custom Fields Pro)
Installation
- Upload the
trailblaze-galleryfolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- Ensure ACF Pro is installed and activated
Usage
Adding Galleries
- Edit any page or post
- Scroll to the "Photo Galleries" meta box
- Click "Add Gallery" to create a new gallery
- Fill in:
- Gallery Title: Display title for the gallery section
- Gallery ID/Anchor: Unique ID for shortcode and anchor links (e.g., "ballroom1")
- Gallery Images: Select images from the media library
- Images Per Page: Number of images per carousel page (default: 12)
- Columns: Grid columns (2, 3, or 4)
Shortcodes
Display a specific gallery by ID:
[tbg_gallery id="ballroom1"]
Display by index (0-based):
[tbg_gallery gallery_index="0"]
Display from a different post/page:
[tbg_gallery id="ballroom1" post_id="123"]
Template Tag
In theme templates, use:
<?php tbg_render_galleries(); ?>
Or for a specific post:
<?php tbg_render_galleries($post_id); ?>
Migration from 10Web Photo Gallery
If migrating from "Photo Gallery by 10Web":
- Go to Tools → Migrate BWG Gallery
- Review detected galleries
- Select a target page for each gallery
- Click "Migrate Selected Galleries"
- Update page content with new shortcodes
- Deactivate the old plugin
Changelog
1.0.0
- Initial release
- ACF Pro integration with repeater fields
- Grid layout with configurable columns
- Carousel pagination
- Lightbox with thumbnails, slideshow, fullscreen
- Migration tool from 10Web Photo Gallery
License
GPL-2.0+