Modaal for Divi
WCAG 2.0 Level AA accessible modal window plugin by Humaan, adapted as WordPress Plugin for Divi theme
by ESC Region 13 · github.com/region13/modaal-divi · website
★ 2stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/region13/modaal-divi/archive/refs/heads/master.zipFrom the readme
Modaal for Divi
Modaal for Divi is a WordPress plugin set up for the Divi Wordpress theme. Modaal is a WCAG 2.0 Level AA accessible modal (aka lightbox, overlay, or popup dialog window) library by Humaan. Modaal's orginal scripts and css files are enqueued via a CDN, and triggers are initialized in a separate script file.
Modaal for Divi initializes the following modal types: inline content, video, and single image.
Installation
1. Download ZIP
2. Upload the zip file through your Divi site's plugins page
2. Activate the plugin
Configuration
Modaal for Divi initalializes the following triggers:
$('.modaal-inline-trigger, .modaal-inline-trigger-wrapper a').modaal({
type: 'inline'
});
$('.modaal-video-trigger, .modaal-video-trigger-wrapper a').modaal({
type: 'video'
});
$('.modaal-image-trigger, .modaal-image-trigger-wrapper a').modaal({
type: 'image'
});
In general, triggers can be configured with any link element in two ways:
1. Add the trigger class to the link element:
2. Add the trigger-wrapper class to a parent of the link element:
Instructions for creating triggers with the Divi Builder are included below.
Video Modals
Embed URLs
Wist
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.0.0 | Apr 23, 2019 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.