Use a shortcode to create a light/dark mode.
As of April 2026, gaplugin-darkmode is a WordPress dark plugin with 0 active installations and a 0/5 rating0. It has been downloaded 4.6K+ times in total. Requires WordPress 5.2+ and PHP 7.2+. Available on WordPress.org since 2020. Last updated 5 years ago — may have compatibility concerns. Top alternative: WP Dark Mode – Improve Accessibility….
After installing the plugin.
You’ll have a new menu in your admin page “GAPlugin”.
It will have a “darkmode” menu.
Here you’ll be able to activate a test affecting the body of your website.
You’ll be able to modify your CSS (Cascade Style Sheet) to manage your darktheme:
– for the light theme :root
– for the dark theme [data-theme=”dark”]
You can take a look in the test mode to see how to use it.
You just have to use the shortcode in your theme to display the checkbox for the darkmode.
Here is the shortcode to use: [GAP-darkmode]
Enjoy !
Take a look at my website GautierAntoine.com
| WordPress | 5.2+ requiredTested up to 5.6.17 |
| PHP | 7.2+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.