Directory / plugin
Improve Accessibility – Dark Mode Switcher
v1.0.0 · by Ermald Billa
A secure WordPress plugin to add a universal dark/light mode toggle with localStorage support.
About this plugin
Improve Accessibility – Dark Mode Switcher for WP adds a professional dark/light mode toggle to your WordPress website.
Features:
- Universal dark/light mode toggle
- localStorage support for user preferences
- Modern responsive design
- Full WordPress security implementation
- JavaScript API for developers
- Mobile-friendly
- Translation-ready
Security:
The plugin implements all WordPress security standards including nonces, sanitization, escape output, and permission checks.
Developer API:
`javascript
// Get current theme
window.iadsAPI.getTheme();
// Change theme
window.iadsAPI.setTheme(‘dark’);
// Toggle theme
window.iadsAPI.toggleTheme();