Overview
Lightbox & Modal Popup WordPress Plugin describes itself as: “A responsive image lightbox for WordPress galleries, WordPress attachments & FooGallery”
It is active on 100,000+ WordPress sites and rated 3.9 out of 5 by 95 users on WordPress.org. Developers can extend it through 18 actions and 24 filters, listed below.
How to install Lightbox & Modal Popup WordPress Plugin
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Lightbox & Modal Popup WordPress Plugin” and pick the one by FooPlugins.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install foobox-image-lightbox --activateRequirements: WordPress 5.8+ · PHP 5.4+ · tested up to WordPress 7.1.4
Hooks & customisation
Lightbox & Modal Popup WordPress Plugin 2.8.8 fires 18 actions and 24 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter in free/foobox-free.php
apply_filters( 'foobox_auto_link_images', $this->options()->is_checked( 'auto_link_images', false ) );
// Filter in free/foobox-free.php
apply_filters( 'foobox_enqueue_scripts', true );
// Filter in free/includes/class-script-generator.php
apply_filters( 'foobox_generate_javascript_captions', 'console.log("FooBox - Custom Captions Code");' );
// Filter in free/includes/class-script-generator.php
apply_filters( 'foobox_generate_javascript_custom', 'console.log("FooBox - Custom Extra JS");' );
// Filter in free/includes/class-script-generator.php
apply_filters( 'foobox_generate_javascript_post', 'console.log("FooBox - Custom JavaScript (Post)");' );
// Filter in free/includes/class-script-generator.php
apply_filters( 'foobox_generate_javascript_pre', 'console.log("FooBox - Custom JavaScript (Pre)");' );Need Lightbox & Modal Popup WordPress Plugin customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with FooPlugins. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.