Video Galleries
Create beautiful, organized video galleries with Vimeify's flexible gallery system. Choose from multiple gallery types and display styles to showcase your video content.
Gallery Types
Vimeify offers two powerful gallery types, each suited for different use cases.
Selection Gallery
Manually curate video collections by selecting specific videos.
Best for:
- Featured video collections
- Curated playlists
- Topic-specific compilations
- Highlight reels
- Best-of collections
How it works:
- Create a new gallery
- Manually select videos to include
- Reorder videos by dragging
- Publish gallery
- Display using shortcode or block
Control:
- ✅ Full control over video selection
- ✅ Custom ordering
- ✅ Mix videos from different Vimeo folders
- ✅ Update anytime manually
Folder Sync Gallery
Automatically synchronize with a Vimeo folder.
Best for:
- Automatically updating galleries
- Vimeo-managed collections
- Department video libraries
- Client-specific folders
- Course video sections
How it works:
- Create folder on Vimeo
- Create gallery in WordPress
- Select "Folder Sync" type
- Choose Vimeo folder
- Videos automatically sync from folder
Advantages:
- ✅ Automatically updates with folder changes
- ✅ No manual video management needed
- ✅ Centralized control via Vimeo
- ✅ Syncs on schedule (every 10 minutes)
Sync Behavior:
- New videos in folder → Added to gallery
- Videos removed from folder → Removed from gallery
- Video order follows Vimeo folder order
- Updates during metadata sync cycle
Gallery Display Styles
Choose how your gallery appears to visitors.
Slider Style
Pro Feature
The Slider gallery style requires Vimeify Pro. Get Pro →
Carousel-style gallery with horizontal scrolling.
Features:
- Horizontal scrolling layout
- Navigation arrows
- Thumbnail previews
- Responsive design
- Touch/swipe support (mobile)
- Auto-play option
- Loop option
Best for:
- Hero sections
- Featured video showcases
- Portfolio displays
- Landing pages
Example:
[vimeify_gallery id="123" style="slider"]Customization:
- Number of visible videos
- Scroll behavior (slide count)
- Auto-advance timing
- Navigation button style
Playlist Style
Vertical list with video player and clickable video list.
Features:
- Large player area
- Scrollable video list
- Click to play
- Current video highlight
- Video metadata display
- Sequential playback option
Best for:
- Video courses
- Tutorial series
- Webinar archives
- Documentary series
- Conference talks
Example:
[vimeify_gallery id="123" style="playlist"]Customization:
- Player size
- List position (left/right)
- Thumbnail size
- Auto-play next
- Metadata display
Creating Galleries
Via WordPress Admin
- Navigate to Vimeify → Galleries
- Click Add New
- Enter gallery details (see below)
- Choose gallery type
- Configure settings
- Click Publish
Gallery Settings
Basic Information
Gallery Title
- Display name for gallery
- Shows in gallery listings
- Used in shortcode output
Description
- Optional gallery description
- Displays above gallery (theme-dependent)
- Supports HTML formatting
Gallery Type
Selection Gallery:
- Choose "Selection" type
- Click "Add Videos" button
- Select videos from media modal
- Drag to reorder
- Remove unwanted videos
Folder Sync Gallery:
- Choose "Folder Sync" type
- Select Vimeo folder from dropdown
- Videos automatically populate
- Order syncs from Vimeo
- Cannot manually add/remove (managed by sync)
TIP
Create folders on Vimeo first. They'll appear in the dropdown after the next sync (max 10 minutes).
Display Settings
Default Style
- Choose default display style (slider or playlist)
- Can be overridden in shortcode/block
- Affects widget displays
Videos Per Page (Selection galleries)
- Limit number of videos shown
- Pagination for large galleries
- Default: Show all
Autoplay Options
- Auto-play first video on load
- Auto-advance to next video
- Loop back to start
Advanced Settings
Custom CSS Class
- Add custom classes for styling
- Useful for theme integration
- Multiple classes space-separated
Featured Gallery
- Mark gallery as featured
- Useful for filtering/highlighting
- Can query featured galleries programmatically
Displaying Galleries
Shortcode
Display galleries anywhere using the [vimeify_gallery] shortcode.
Basic Usage:
[vimeify_gallery id="123"]With Style:
[vimeify_gallery id="123" style="slider"]All Parameters:
[vimeify_gallery
id="123"
style="playlist"
autoplay="true"
loop="false"
per_page="10"
]Parameters:
| Parameter | Description | Default | Options |
|---|---|---|---|
id | Gallery ID (required) | - | Gallery post ID |
style | Display style | Gallery setting | slider, playlist |
autoplay | Auto-play first video | false | true, false |
loop | Loop gallery | false | true, false |
per_page | Videos per page | All | Number |
class | Custom CSS class | - | Any string |
Gutenberg Block
Use the Vimeify Gallery block in the WordPress block editor.
Adding Block:
- Click (+) to add block
- Search "Vimeify Gallery"
- Select gallery from dropdown
- Choose display style
- Configure options in sidebar
Block Settings:
- Gallery selector
- Style picker (slider/playlist)
- Autoplay toggle
- Loop toggle
- Custom CSS class
Preview:
- Live preview in editor
- See actual gallery layout
- Test responsive behavior
Page Builder Widgets
Elementor
- Find "Vimeify Gallery" widget
- Drag to page
- Select gallery from dropdown
- Choose style
- Configure in settings panel
Elementor-Specific:
- Style controls
- Spacing options
- Color customization
- Responsive settings
Bricks
- Add "Vimeify Gallery" element
- Select gallery
- Choose display style
- Customize with Bricks controls
Bricks-Specific:
- Native Bricks styling
- Dynamic data support
- Conditional display
- Query loop integration
Learn more about Page Builders →
Gallery Taxonomies
Organize galleries using the Gallery taxonomy.
Assigning Gallery Taxonomy
When editing videos:
- Go to Vimeify → Videos
- Edit a video
- Find "Galleries" metabox
- Check galleries to include video
- Update video
Bulk Assignment:
- Select multiple videos
- Choose "Bulk Actions → Edit"
- Select galleries
- Click "Update"
Querying by Gallery
Using Shortcode:
[vimeify_videos_table gallery="tutorials"]In Template:
$args = [
'post_type' => 'vimeify-video',
'tax_query' => [
[
'taxonomy' => 'vimeify-gallery',
'field' => 'slug',
'terms' => 'tutorials',
],
],
];
$videos = new WP_Query( $args );Gallery Synchronization
Selection Gallery Sync
Selection galleries don't auto-sync, but video metadata updates:
- Video titles update automatically
- Thumbnails refresh
- Metadata stays current
- Manual video management required
Folder Sync Gallery Sync
Folder sync galleries fully synchronize:
What Syncs:
- Videos added to Vimeo folder → Added to gallery
- Videos removed from folder → Removed from gallery
- Video order → Matches Vimeo folder order
- Video metadata → Updates automatically
Sync Schedule:
- Runs every 10 minutes (metadata sync)
- Part of automatic sync cycle
- No manual intervention needed
Manual Sync:
# Force sync all galleries
wp vimeify sync metadata --freshSync Status
Check gallery sync status:
- Navigate to Vimeify → Galleries
- Look for "Sync" column
- Status indicators:
- ✅ Synced - Up to date
- 🔄 Syncing - In progress
- ⚠️ Error - Sync issue
Troubleshooting Sync Issues:
# Check sync status
wp vimeify sync info
# Reset and resync
wp vimeify sync metadata --freshCustomizing Gallery Display
Custom Styling
Add custom CSS for galleries:
Via Theme:
/* Target specific gallery */
.vimeify-gallery-123 {
background: #f5f5f5;
padding: 20px;
}
/* Style slider navigation */
.vimeify-gallery-slider .slick-arrow {
background: #2271b1;
}
/* Customize playlist layout */
.vimeify-gallery-playlist .video-list {
width: 400px;
}Via Custom CSS Class:
- Edit gallery
- Add custom class in "Custom CSS Class" field
- Style with CSS:
.my-custom-gallery .video-item {
border: 2px solid #2271b1;
}Template Overrides
Override gallery templates in your theme:
Template Location:
wp-content/plugins/vimeify/templates/gallery/
├── slider.php
├── playlist.php
└── gallery-item.phpTheme Override:
your-theme/
└── vimeify/
└── gallery/
├── slider.php
└── playlist.phpCustom Template:
// your-theme/vimeify/gallery/slider.php
<?php
// Custom slider template
// $gallery - Gallery post object
// $videos - Array of video objects
// $args - Display arguments
foreach ( $videos as $video ) {
// Custom video display
}Filters
Customize gallery behavior with filters:
Modify Gallery Query:
add_filter( 'vimeify_gallery_query', function( $args, $gallery_id ) {
// Modify query args
$args['posts_per_page'] = 20;
return $args;
}, 10, 2 );Change Gallery Videos:
add_filter( 'vimeify_gallery_videos', function( $videos, $gallery_id ) {
// Filter or modify videos array
return $videos;
}, 10, 2 );Customize Gallery HTML:
add_filter( 'vimeify_gallery_html', function( $html, $gallery_id, $args ) {
// Modify gallery output
return $html;
}, 10, 3 );Gallery Performance
Optimization Tips
For Large Galleries:
- Use pagination (
per_pageparameter) - Enable lazy loading
- Optimize thumbnail sizes
- Use CDN for assets
- Cache gallery output
Lazy Loading:
// Enable lazy load for gallery videos
add_filter( 'vimeify_gallery_lazy_load', '__return_true' );Caching:
// Cache gallery for 1 hour
add_filter( 'vimeify_gallery_cache_duration', function() {
return HOUR_IN_SECONDS;
} );Database Queries
Gallery queries are optimized:
- Cached video relationships
- Efficient taxonomy queries
- Limited metadata fetching
- Indexed lookups
Gallery Use Cases
Course Video Library
Setup:
- Create Vimeo folder per course section
- Create folder sync gallery for each
- Upload videos to respective folders
- Display with playlist style
Benefits:
- Auto-updates as you add videos
- Students see latest content
- Easy reorganization via Vimeo
- Maintains course structure
Client Video Portal
Setup:
- Create Vimeo folder per client
- Create private folder sync galleries
- Set gallery privacy to match
- Share gallery shortcode with client
Benefits:
- Client sees only their videos
- Automatic updates
- Centralized management
- Professional presentation
Product Demo Gallery
Setup:
- Create selection gallery
- Manually add product videos
- Order by importance/relevance
- Display with slider style
Benefits:
- Complete control over order
- Mix videos from different sources
- Update featured demos easily
- Professional showcase
Tutorial Series
Setup:
- Create Vimeo folder for tutorials
- Create folder sync gallery
- Display with playlist style
- Enable auto-play next
Benefits:
- Sequential viewing
- Auto-updates with new tutorials
- Easy navigation
- Better learning experience
Troubleshooting
Gallery Not Displaying
Check:
- Gallery is published
- Gallery has videos
- Shortcode ID is correct
- Theme supports shortcodes
Debug:
// Check if gallery exists
$gallery = get_post( 123 );
var_dump( $gallery );
// Check gallery videos
$videos = vimeify_get_gallery_videos( 123 );
var_dump( $videos );Folder Sync Not Working
Symptoms: Gallery not updating with folder changes
Solutions:
- Verify folder selected correctly
- Check sync is running:
wp vimeify sync info - Manually trigger sync:
wp vimeify sync metadata - Check Action Scheduler logs
- Verify API credentials and quota
Videos Not Appearing in Gallery
For Selection Galleries:
- Verify videos are selected in gallery editor
- Check videos are published
- Verify video post type visibility
For Folder Sync Galleries:
- Confirm videos exist in Vimeo folder
- Wait for next sync (max 10 minutes)
- Run manual sync to test
- Check folder has videos on Vimeo
Styling Issues
Common Problems:
- Theme CSS conflicts
- Missing slider JavaScript
- Responsive layout breaks
Solutions:
- Check browser console for errors
- Verify slider library loaded
- Add custom CSS to fix conflicts
- Use theme override templates
- Contact support with theme details
Best Practices
Gallery Organization
- Use Descriptive Names: Clear gallery titles
- Consistent Structure: Similar naming conventions
- Logical Grouping: Group related content
- Limit Gallery Size: 20-30 videos per gallery ideal
- Use Categories: Organize with Vimeify categories too
Folder Sync Strategy
- Plan Folder Structure: Design Vimeo folders first
- One Gallery Per Folder: Maintain 1:1 relationship
- Folder Naming: Match gallery names to folders
- Regular Cleanup: Remove old/unused folders
- Test Before Production: Verify sync behavior
Performance
- Paginate Large Galleries: Use
per_pageparameter - Optimize Images: Compress thumbnails
- Use Caching: Enable gallery caching
- Lazy Load: Enable lazy loading for videos
- CDN: Use CDN for assets
User Experience
- Clear Titles: Descriptive gallery names
- Relevant Content: Keep galleries focused
- Logical Order: Sequence videos meaningfully
- Consistent Style: Use same style site-wide
- Mobile-Friendly: Test on mobile devices
Related
- Sync - Automatic gallery synchronization
- Gallery Element - Gallery element reference
- Gutenberg - Gallery block
- Hooks - Gallery customization
- API - Gallery PHP API