
General settings
Supercharge your image & gallery links by displaying a simple, modern, & powerful lightbox.
Works with native guttenberg image/gallery blocks.
Dependency-free: No jQuery, only pure JavaScript.
Performance friendly: Styles/Scripts DO NOT load if there are no image links within the content.
Joli CLEAR Lightbox stands for the following:
Customizable
Lightweight
Elegant
Accessible
Responsive.
Supported post types:
* Post
* Pages
* Custom Post Type (Pro only)
How to use ?
Copy & paste the code examples below into your theme’s functions.php file:
joli_clear_lightbox_disable_lightboxGlobally disables Joli CLEAR Lightbox site-wide.
add_filter('joli_clear_lightbox_disable_lightbox', function(){ return true; });
joli_clear_lightbox_optionsCustomizes the options programmatically.
add_filter('joli_clear_lightbox_options', 'my_custom_options_function');
joli_clear_lightbox_before_rendering