Portfolio Filter Gallery – Photo Gallery
Create filterable portfolio galleries with photos, videos, category filters in masonry layouts.
Install in
Portfolio Filter Gallery is a powerful and easy-to-use photo gallery plugin. It lets you sort images and videos into categories. Users can click buttons to filter and find what they need.
Designed for photographers, designers, agencies, and anyone who needs to display their work in an organized, professional way. Whether you are building a photography portfolio, a design showcase, or a simple image gallery, this plugin gives you the tools to present your content beautifully.
Pro Live Demos And Details Links
Video Tutorials
What This Plugin Does
The core function of Portfolio Filter Gallery is to let you build galleries where users can click filter buttons to view specific categories of work. Instead of scrolling through an entire page of images, a visitor can select “Web Design” or “Photography” and see only those items.
The plugin includes a dedicated page for managing filter categories. You create your filters once, then assign them to individual images or videos as you build your gallery. This separation keeps your workflow clean and organized.
Elementor or Gutenberg
Includes a dedicated Gutenberg block and Elementor widget with live canvas previews—select your gallery directly from the editor without copying shortcodes.
Who This Plugin Is For
- Photographers who want to display work by genre such as portraits, landscapes, or events
- Web designers and developers building project showcases for clients
- Creative agencies presenting work across multiple industries
- Architects organizing projects by type such as residential, commercial, or renovations
- Artists grouping pieces by medium, theme, or collection
- Freelancers who need a professional portfolio on their website
- Bloggers and businesses that want a simple, clean image gallery
Core Features (Free Version)
Filterable Gallery
- Create filter categories through a dedicated management page (up to 6 filters in Free, unlimited in Pro)
- Hierarchical parent-child filter relationships
- Assign one or more filters to each image or video
- Smooth filter transitions with no page reloads
- “All” button to reset and show every item
- Filter styles including Buttons, Minimal, Dropdown, and Flat
- Live search box and URL deep-linking support
Gallery Layouts
- Masonry layout that arranges images in a Pinterest-style grid based on their natural dimensions
- Standard grid layout for a clean, uniform look
- Choose 1 to 10 columns
- Adjustable spacing between gallery items
Video Support
- Embed YouTube (including Shorts), Vimeo, and self-hosted MP4/WebM videos
- Watch images and videos in the Built-in Lightbox or LD Lightbox
Customization
- Show or hide image titles on hover or below the image
- Image numbering badges to display item order
- 10+ hover effects (Fade, Zoom, Slide Up, Lift, Overlay, Slide In, Color Reveal, Subtle) plus Grayscale option
- Custom filter button colors for background, text, and active states
- Configurable image border width and color
Page Builder Integration
- Native Gutenberg block with live server-side preview
- Native Elementor widget with real-time rendering in the builder
- Shortcode support (
[Portfolio_Gallery]and[PFG]) for WPBakery, Divi, Beaver Builder, and any theme - Works in widgets and custom HTML blocks
Gallery Management
- Drag-and-drop image reordering
- Bulk image selection with Shift+Click
- Individual image editor for titles, alt text, links, and filters
- Optimized chunked saving for large galleries
Premium Features
The premium version adds advanced gallery tools for professional use:
Advanced Features
- Unlimited filter categories
- Multi-select filtering with AND/OR logic for complex category combinations
- Multi-level cascading dropdown menus
- Custom image description display in cards and lightbox
- Justified and Packed layout engines plus additional Grid Aspect Ratios (1:1, 2:3, 16:9)
- Responsive breakpoint overrides across desktop, tablet, and mobile
- WooCommerce product integration (price, sale badge, add to cart)
- Pagination and AJAX Load More / Infinite Scroll
- Image watermark overlay (text & image) for copyright protection
- Gallery cloning and analytics export
How to Set Up Your Gallery
- Go to Portfolio Gallery in your WordPress admin menu and click Filters
- Add the filter categories you need, such as “Web Design”, “Photography”, or “Branding”
- Click Add New under Portfolio Gallery to create a new gallery
- Upload your images, enter titles and descriptions, and assign filters to each item
- Configure your layout, column count, hover effects, and colors in the gallery settings
- Publish the gallery and add it to any page using the Gutenberg block, Elementor widget, or shortcode
The shortcode format is:
[Portfolio_Gallery id=”123″]
Replace 123 with the ID shown in your gallery editor.
Browser Support
Portfolio Filter Gallery is tested and works on all modern browsers:
* Google Chrome
* Mozilla Firefox
* Apple Safari
* Microsoft Edge
* Opera
* Mobile Safari on iOS
* Chrome and other browsers on Android
Privacy and Security
- Fully GDPR compliant with no data collection or external requests
- All assets are served locally from your WordPress installation
- Code follows WordPress coding standards with proper sanitization and escaping
- Regular security updates and compatibility testing with new WordPress releases
Getting Help
Third-Party Libraries
- Lightbox2 by Lokesh Dhakar (https://lokeshdhakar.com/projects/lightbox2/) — licensed under the MIT License (
public/lightbox/ld-lightbox/). - Standard WordPress core libraries (jQuery UI,
wp-color-picker, Gutenberg & REST packages).
Written by Joobi from the project's own listing. See the source page
2.2.3
- Date: 27 November, 2026
- Security: Fixed stored attribute XSS in the admin Add Images AJAX grid rendering path by encoding double and single quotes in
escapeHtml()alongsideCSS.escape()selector hardening and safe DOM creation in lightbox scripts. - Security: Added canonical path checks and Apache 2.4/2.2 directory protection to backup files, hierarchy cycle and depth limits across all filter tree walkers, attachment ownership/MIME checks on uploads, user/token scoping on chunked saves,
show_in_rest => falseon gallery post types, and strict gallery visibility/password guards on frontend rendering. - Fixed: PHP 8+
TypeErrorresilience across scalar/malformed post meta, settings persistence edge cases (border_width,border_color,grayscale,columns_xl,autocolor picker preservation,4:3Free aspect ratio clamping), duplicate attachment ID handling, malformed-JSON save protection with admin error notices, and multisite activation/uninstall cleanup. - Fixed: Filter manager case-sensitive legacy ID preservation, Unicode filter slug/parent propagation into galleries, non-destructive admin
randomsort preview, admin pagination (50+items), onboarding tour duplicate tooltips,[PFG]/[Portfolio_Gallery]attribute forwarding, RTL masonry positioning, and LD Lightbox / built-in lightbox async filtering and navigation. - Improved: Removed unused Pro runtime code while keeping Free-version Pro preview cards intact, resolved WCAG 2.1 AA dialog focus traps and form labels, cleaned duplicated admin/public stylesheets, added
wp_set_script_translations(), updated docs/attribution, and synced translation.pot/.po/.mofiles.
2.2.2
- Date: 21 October, 2026
- Added: Justified and Packed dummy options with PRO badge under Layout Type gallery settings.
- Added: 1:1, 2:3, and 16:9 dummy options with PRO badge under Grid Aspect Ratio gallery settings.
2.2.1
- Date: 07 October, 2026
- Security: Fixed contributor-level authorization flaws across all gallery AJAX endpoints by enforcing per-object capability checks (
edit_post), post-type verification, and explicitupload_filesrequirements. - Security: Restricted all site-wide filter management AJAX actions and admin views to users with administrator privileges (
manage_options). - Security: Enforced per-object authorization (
delete_post) on video thumbnail deletion to prevent unauthorized cross-user attachment deletion. - Security: Hardened lightbox script against unsafe HTML injection by enforcing textContent assignment for title attributes.
- Fixed: Resolved fatal error in WP-Cron background migration routine by updating method visibility.
- Fixed: Prevented image ‘alt’ tag data loss during chunked AJAX saves in the gallery editor.
- Fixed: Filter slug matching logic in frontend renderer to properly match both slugs and numeric IDs.
- Fixed: Prevented unwanted database write operations on frontend gallery views.
- Fixed: Resolved Elementor widget double-registration warning and added support for modern Elementor registration API.
- Fixed: Loaded bundled translation files on the ‘init’ hook for reliable localization.
- Fixed: Standardized frontend asset handles and optimized script/style registration timing to prevent FOUC.
- Fixed: Corrected missing template preview asset paths in gallery layout settings.
- Compliance: Removed remote asset dependencies and external image hotlinking in accordance with WordPress.org guidelines.
- Improved: Comprehensive uninstallation routine to cleanly remove all options, post meta, terms, and backup files.
- Improved: Pruned deprecated setup wizard, unused WooCommerce view, and redundant AJAX endpoints.
- Improved: Added PRO indicator badges to description settings in gallery settings and media edit modals.
2.2.0
- Date: 16 July, 2026
- Added: Native Gutenberg block with live server-side rendering in the block editor.
- Added: Native Elementor widget with real-time gallery preview inside the builder.
- Added: Optional per-page overrides for columns, hover effects, and filter visibility in both block and widget.
- Fixed: Data loss issue when reordering large galleries with pagination active. The full order list is now serialized as a JSON string to work within PHP max_input_vars limits.
- Improved: Gallery save performance for large collections by increasing the AJAX chunk size from 50 to 250.
- Improved: Reduced AJAX payload size by converting uploader endpoints to JSON-serialized parameters.
- Improved: Smarter form submit routing that automatically selects the best save method based on gallery size.
2.1.9
- Date: 07 July, 2026
- Added: Image numbering badge feature.
- Added: Sticky publish/update button for easier saving.
- Fixed: Gallery saving method and settings persistence.
2.1.8
- Date: 27 June, 2026
- Added: Right Click Protection integration in individual gallery Layout settings.
- Added: Right Click Protection details in documentation page.
- Improved: Version bump to 2.1.8.
2.1.7
- Date: 2 June, 2026
- Perfectly working with new WordPress version 7.0
- filter bug fixed in gallery.
2.1.6
- Added: Bulk selection capability using “Shift + Click” for faster image management.
- Improved: Image gallery loading sequence to prevent layout shifts.
- Optimized: Filter button responsiveness on mobile devices.
2.1.5
- Added: Dual action overlay buttons (Link + Lightbox view) for gallery items.
- Fixed: Lightbox missing description issue and restored support for line breaks in text.
- Fixed: Issue where images reverted to “External Link”.
- Fixed: Filter category disappearing/removing bug when unchecked in gallery settings.
2.1.4
- Fixed: Support for external links in images.
- Fixed: Advanced columns controls for responsive grid/masonry layouts.
- Fixed: Filter button colors settings (primary, active, text colors).
- Fixed: Lightbox content mapping for title and description.
- Fixed: Lightbox description properly mapping to the gallery wrapper data attribute.
2.1.3
- Added: Enable/Disable Lightbox toggle setting in individual gallery meta boxes.
- Improved: Pro Banner design in filter and settings pages.
- Fixed: Lightbox setting mapping in schema for proper saving/retrieval.
2.1.2
- Fixed: JavaScript error on image edit modal (undefined variable).
- Fixed: escapeHtml scope issue causing save failure in modal editor.
- Security: Hardened all dynamic DOM insertions with output escaping in admin JS.
- Removed: Deprecated layout options and unused repair feature.
- Code cleanup and minor bug fixes.
2.1.1
- Compliance: Removed Pro Features admin menu page and all associated upsell/gating UI.
- Compliance: Removed built-in lightbox to conform with free-only restrictions.
- Compliance: Removed all premium WooCommerce integrations.
- Compliance: Removed documentation for features not present in this release.
2.1.0
- Removed: Custom CSS textarea (WordPress has a built-in CSS editor in the Customizer)
- Removed: Unused Bootstrap JS/CSS files (not enqueued, legacy only)
- Removed: Unused bs5-lightbox files (index.bundle.min.js, boot.css)
- Removed: Remote placeholder.com URL references
- Fixed: Inline style tag in Pro Features page moved to properly enqueued CSS file
- Added: Third-party library source documentation in readme
- Compliance: Resolved all WordPress.org Plugin Directory review issues
2.0.8
- Security: Comprehensive security audit with nonce verification, input sanitization, and output escaping across all files
- Security: Replaced deprecated unlink() with wp_delete_file(), date() with gmdate()
- Fixed: Added translators comments for all translatable strings with placeholders
- Fixed: Unordered sprintf placeholders corrected
- Removed: Pro feature indicators from free version UI (Fancybox/PhotoSwipe in settings)
- Removed: All upsell banners, cards, and marketing content from free version
- Improved: WordPress.org Plugin Check compliance
- Fixed: Gallery items with deleted media attachments no longer show broken images on frontend
- Added: Grid Aspect Ratio setting (Pro feature) – visible in admin with Pro badge
2.0.7
- Fixed: New images added to existing galleries disappearing on update
2.0.6
- Fixed: Description text color now uses caption color setting instead of hardcoded value
- Fixed: Masonry columns now display horizontally instead of vertically
2.0.5
- Fixed: Legacy migration now correctly extracts alt text, descriptions, and links
- Fixed: External link images now properly set Link Type to “Link to External URL” after migration
- Improved: Re-migration functionality to repair galleries with missing data
2.0.4
- Added: LD Lightbox is now filter-aware – lightbox only shows visible (filtered) images
- Improved: All lightbox libraries (Fancybox, PhotoSwipe, LD Lightbox) now respect active filters
- Improved: Lightbox navigation correctly shows “Image X of Y” based on filtered count
2.0.3
- Added: Comprehensive documentation page with sidebar navigation
- Added: Both free and premium versions can now be active simultaneously (premium takes priority)
- Improved: Premium detection system for seamless upgrades
- Fixed: Function conflicts when both versions active
2.0.2
- Added: Filter multiple languages support
- Added: Search Placeholder field in gallery settings
- Fixed: Show Title toggle not saving when OFF
- Fixed: Columns/Gap settings preserved on template change
2.0.1
- Bug Fixed
2.0.0
Major Update – Complete Redesign
This is a major update with a completely redesigned interface. Your existing galleries and data will be automatically migrated and preserved.
- New: Completely redesigned admin interface with modern UI
- New: Enhanced image management with drag-and-drop ordering
- New: Improved modal editor for individual image settings
- New: Bulk selection and batch operations
- New: Filter hierarchy support with parent-child relationships
- New: Multiple lightbox options (LD Lightbox, Bootstrap Lightbox)
- New: Enhanced migration system for legacy data
- New: Version tracking for future upgrade logic
- Improved: Better PHP 8.x compatibility with strict type handling
- Improved: Performance optimizations for large galleries
- Fixed: Sanitize_title error with legacy filter data stored as arrays
- Fixed: Filter count migration from legacy versions
- Fixed: Version conflict handling when both Free and Premium active
1.7.5
- Text domain error fixed.
- Tested with WordPress version 6.9
Follow this listing's changes (Atom feed)