Dark Mode Toggle
About this product
A frontend dark-mode toggle built on CSS variables — the visitor’s choice persists in localStorage.
Features
- [dark_mode_toggle] shortcode places a toggle button anywhere
- Dark palette driven by CSS variables — switching is instant with no page reload
- The visitor’s choice is remembered in localStorage
- First visit follows the visitor’s operating-system dark-mode preference
- Anti-flash head script applies the saved mode before the page paints
- Optional automatic toggle button in the site footer
Install
- In your WordPress dashboard, go to Plugins → Add New → Upload Plugin.
- Upload
wp-dark-mode-toggle-1.0.0.zip, click Install Now, then Activate. - The footer toggle appears automatically; add [dark_mode_toggle] anywhere for more buttons.
Requirements
WordPress 5.6+, PHP 7.4.





Customer reviews
No reviews yet — be the first to review this product.
Buy this product to write a review
Only verified buyers can review — that keeps every review honest.
Buy now
Review rules:
Only customers who purchased this product can review it. One review per customer — you can edit yours anytime. New and edited reviews appear after approval. We never publish fake reviews.
Similar products
See more →
PLUGINS Word Count Display
Adds a word-count column to the post list and can show the count before your content.
$19.00
View →
PLUGINS WC Product Video Tab
Adds a Video tab to product pages embedding a per-product YouTube/Vimeo URL.
$19.00
View →
PLUGINS Widget Visibility Rules
Show or hide any widget on the front page, single posts, pages, or archives.
$19.00
View →
PLUGINS WC Thank You Note
Shows a custom thank-you message box on the WooCommerce order-received page.
$19.00
View →
PLUGINS WC Sale Countdown
Shows a live sale countdown timer on products with a sale end date.
$19.00
View →