Lightbox Images for Divi Enhanced

Lightbox Images for Divi Enhanced

توسط

The main purpose of the ‘Lightbox Images for Divi’ plugin is to extend Divi’s native lightbox functionality to all auto-linked images, not just Divi galleries.

Requirements:
This plugin requires ONE of the following to be installed and active:
* Divi Theme (version 4.10 or higher)
* Divi Builder Plugin (version 4.10 or higher)

The plugin will automatically check for these requirements during activation and will not activate if they are not met.

Main features:

  • Full Divi 5 Support: Works with Divi 5 pages, including backwards compatibility mode. No jQuery required — the plugin works in vanilla JavaScript with an elegant built-in lightbox when Magnific Popup is not available
  • Attachment Page Links: Now handles images linked to WordPress attachment pages (not just direct image URLs), resolving the full-size image automatically
  • Dependency Checking: Automatically verifies Divi theme or Divi Builder plugin is active before allowing activation
  • Extended Compatibility: Works with the Divi or Divi Builder theme, compatible with Divi 4.10+ and Divi 5
  • Native Integration: Uses Divi’s Magnific Popup when available, falls back to a lightweight built-in lightbox otherwise
  • Easy to Use: Simply install and activate the plugin. No additional configuration is required
  • Optimized Performance: Vanilla JavaScript with no hard dependencies. CSS and JS loaded conditionally
  • Ready for the Future: Works in both Divi 4 (jQuery/Magnific Popup) and Divi 5 (vanilla JS fallback) environments
  • Extensible: Includes a filter (ayudawp_lightbox_selectors) that allows developers to customize CSS selectors to include or exclude specific elements

This plugin enhances the user experience on websites built with Divi, ensuring that any image linked to itself (i.e., clicking on it opens the image in its full size) is displayed in a lightbox effect.

Unlike Divi’s default functionality, which often restricts this effect to galleries, this plugin extends it to all individual images, providing a consistent and engaging visual experience.

The plugin is ideal for photographers, bloggers, and any Divi user who wants to offer a more polished and professional image viewing experience without the need for complex configurations or additional gallery plugins.

Support

Need help or have suggestions?

Love the plugin? Please leave us a 5-star review and help spread the word!

About AyudaWP

We are specialists in WordPress security, SEO, and performance optimization plugins. We create tools that solve real problems for WordPress site owners while maintaining the highest coding standards and accessibility requirements.

  1. Important: Make sure you have either Divi theme active OR Divi Builder plugin installed and active before proceeding
  2. Upload the lightbox-images-for-divi-enhanced folder to /wp-content/plugins/ directory
  3. Activate the plugin via the ‘Plugins’ menu in WordPress
  4. The plugin will automatically check for Divi compatibility and prevent activation if requirements are not met
  5. That’s it! All your auto-linked images will now open in a lightbox

سوالات متداول

What happens if I don’t have Divi installed?

The plugin will not activate and will show an error message explaining that either Divi theme or Divi Builder plugin is required.

Can I use this plugin with other themes?

No, this plugin is specifically designed to work only with the Divi ecosystem (Divi theme or Divi Builder plugin). It will not function with other WordPress themes.

What happens if I deactivate Divi after installing this plugin?

The plugin will automatically deactivate itself and show an admin notice explaining why it was deactivated.

Is it compatible with Divi 5?

Yes, the plugin fully supports Divi 5. It works both in backwards compatibility mode (using Magnific Popup) and in native Divi 5 pages (using a lightweight built-in lightbox). No jQuery is required.

Does it work with images linked to attachment pages?

Yes, since version 2.2.0 the plugin handles both direct image URLs (e.g. photo.jpg) and WordPress attachment page links. The full-size image is resolved automatically from the embedded image element.

How can I customize the image selectors?

For advanced users and developers, the plugin provides an ayudawp_lightbox_selectors filter. You can use this filter in your child theme’s functions.php file to add or modify the CSS selectors that the plugin uses to identify images. For example:

php
add_filter( 'ayudawp_lightbox_selectors', 'my_custom_lightbox_selectors' );
function my_custom_lightbox_selectors( $selectors ) {
    $selectors[] = '.my-custom-module a'; // Add selector for custom module
    return $selectors;
}

Does this plugin work with Divi Builder plugin on non-Divi themes?

Yes, as long as you have the Divi Builder plugin installed and active, the plugin will work regardless of your active theme.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
نسخه حجم فایل SHA256 تغییرات دانلود
2.2.4 13 کیلوبایت -
دانلود
×
★★★★★
★★★★★
5.0 /5 (15 نظر)

قیمت:

رایگان

نگارش

2.2.4

آخرین انتشار

12 اردیبهشت 1405

آخرین بروزرسانی

4 ماه پیش

نصب های فعال

4,000+

نگارش وردپرس

وردپرس 5.0+

تست شده از نسخه

وردپرس 7.0

نگارش PHP

PHP 7.4+

نسخه ها

1 نسخه