Improve Accessibility – Dark Mode Switcher

A secure WordPress plugin to add a universal dark/light mode toggle with localStorage support.

Author:Ermald Billa (profile at wordpress.org)
WordPress version required:5.8
WordPress version tested:6.8.3
Plugin version:1.0.0
Added to WordPress repository:03-10-2025
Last updated:03-10-2025
Rating, %:0
Rated by:0
Plugin URI:https://getwebsolution.it/dark-mode-switcher-...
Total downloads:71
plugin download
Click to start download

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();


Screenshots