
CREATE A COMPELLING DARK MODE VERSION OF YOUR WEBSITE β¨
Create a dark mode version of your website without any complicated setup. Activate the plugin and your site visitors will experience a dark mode or light mode version of your website as per their preferred operating system preference. This is a reliable dark mode plugin for WordPress, designed to make setup simple.
Letβs grow, connect, and thrive together!
- π€ Join Our Facebook Community
- π Follow Us on X (Twitter)
- π₯ Subscribe on YouTube
- π Like Our Facebook Page
Check what popular WordPress expert Matt (WPress Doctor) thinks about Dark Mode.
ποΈ View Demo | π Get Ultimate | π€ Join Our Facebook Community
π DARK MODE FEATURES
- Floating Dark Mode Switch β Display a floating switch in the footer of your website. The switch lets your site visitors easily toggle between different modes.
- Default Dark Mode β Make it the default mode of your website. Users will experience it first after entering your website.
- Elementor Widget Support β Place the mode switch on any page/post using the Elementor widget.
- Gutenberg Block Support β Place the mode toggle on any page/post using the Gutenberg block.
- Apply Light or Dark Theme Based on OS Setting β Detect an user’s device theme and automatically enable preferred mode for your visitors to ensure a seamless website experience.
- Admin Panel Dark Mode β Enable dark mode on the WordPress admin panel/dashboard. Give your eyes a much-needed rest while working long hours by enabling it.
- Dark Mode Color Presets β 2 exclusive color presets are available to quickly change the color from the predefined preset. Give your website a brand new look and feel by changing the preset.
- Remember User Preference β Enable the plugin to remember users’ choices and automatically enable preferred mode for visitors who used it before.
- Shortcode Support β Take advantage of the [wp_dark_mode_switch] shortcode to display the switch anywhere on your website.
- Low Image Brightness β Decrease the brightness and contrast of images in the dark.
- Accessibility Features β Toggle your preferred mode by using a keyboard shortcut (Ctrl + Alt + D) or using a URL/domain parameter.
- Toggle Animation β Choose the animation effect between dark/white theme with numerous options including Fade In, Pulse, Flip and many more.
- Social Share Buttons β Social share icons allow your website visitors to share your content with ease. With plenty of cool social media icon templates and share count displays, this plugin supports dedicated social share buttons.
- Caching Exclusion Option β Enable this feature to exclude Dark Mode from server-side caching and ensure a seamless mode transition.
- Device-wise Toggle β Easily choose where to display the mode switch: Desktop, Mobile or Tablet.
- Dark Mode Analytics β Track how many times site visitors have used dark theme in a certain period from the analytics menu and your WordPress admin dashboard.
- Custom CSS Support β With custom CSS, you can perfect the best mode version of your website. Customize specific sections/elements exactly how you want.
β‘ GO BEYOND WITH DARK MODE ULTIMATE
- Schedule Dark Mode β Schedule a time for enabling it on your website and take full control over your website’s appearance.
- Access 21 Floating Switch Styles β Get access to 21 beautiful dark mode switch styles. Choose your preferred switch button for the users to toggle.
- Customize Floating Switch Placement β Customize the placement of the mode switch. You can place it anywhere on your website.
- Time Delay Trigger for Floating Switches β Now you can set a time delay before the floating switch appears, giving visitors time to explore your site before the toggle shows up.
- Auto-Hide Switch with Timeout β Automatically hide the floating switch after a specified timeout, keeping your UI clean while still offering your preferred mode accessibility.
- Premium Color Presets β 13 exclusive ready-made color presets are available to quickly change the mode color from the predefined presets.
- Preset Color Customization β Tailor your experience to perfection. Choose a preset and customize the color of every element, starting from the body and text to links, input fields, buttons and even the scrollbar – exactly the way you want.
- Create Custom Color Preset β Create and customize your color presets. Dive into a palette of possibilities, shaping colors for every element β from the body to text and scrollbar.
- Automatic Dark Mode Based on Sunset – Automatically enable the dark theme based on your visitor’s time.
- Multiple Switch Options β Toggle between different mode switch options. Whether you need a menu switch, a floating switch, or a content switch for your posts/page, the power is on your end. Get a distinct switch style for every section.
- Custom Switch Support with Call-to-Action Customization β Upload a custom switch of your own choice and customize call-to-action text on your mode switch.
- Mode-Based Image Replacement β Replace light-mode images with the different images you want in the dark theme.
- Mode-Based Video Replacement – If your website has videos, you can replace them with something more fitting for a dark theme.
- Adjust Brightness Level & Apply Grayscale Effect – Adjust your images and video’s brightness level while dark theme is enabled to get an immersive content viewing experience. You can also add a grayscale effect to your images/videos.
- Exclude Preferred Mode on Certain Pages/Elements β Exclude specific pages/elements from changing into a dark theme.
- Include Preferred Mode on Selected Posts & Pages – Exclude all the pages and posts on your website from your selected mode except the specific ones where you want it.
- Exclude Post Tags & Categories – Exclude all the post tags from dark mode. Keep only the specific tags whitelisted.
- Include Preferred Mode on Custom Post Types – You can also enable your preferred mode only for specific post types, excluding all.
- Exclude WooCommerce Products & Categories – Exclude all the products and categories on your WooCommerce site from dark mode except the specific ones.
- Dark Mode Switch in Website Menu β You can display the switch as a menu item on any menu on your website.
- Font Size Toggle for Better Accessibility β Make your site more accessible by resizing your font size (increase/decrease).
- Plenty of Performance Options – This plugin comes with multiple performance settings, putting complete control at your fingertips. By using these features, you can improve page loading performance and track dynamic content.
- Choose Mode Behavior – You can choose between loading preferred mode or website content first by selecting these options.
- Scheduled Email Reporting on Dark Mode Usage – Get daily/weekly reports via email on the analytics of your website.
ποΈ View Demo | π Get Ultimate | π€ Join Our Facebook Community
π€ Why Choose Dark Mode?
It is used by thousands of WordPress sites to enhance accessibility and reading comfort. It adds a dark theme toggle for both frontend and WordPress admin, improving accessibility and user experience. With increasing device-level dark mode adoption, providing this option can improve the browsing experience for many visitors. The widespread use of dark theme features across mobile and desktop platforms makes this compatibility beneficial for modern websites.
π¨ Page Builder Compatibility
Dark Mode works with popular page builders, including:
- Gutenberg Block Editor
- Elementor Page Builder
- Divi Builder
- Beaver Builder
- Oxygen Builder
- SiteOrigin
- CornerStone
- Themify Builder
- MotoPress
- LayersWP
- WPBakery Page Builder
- Spectra
- Visual Composer
- …and more
- Check the full list
π¨ Theme Compatibility
WP Dark Mode is optimized to work with thousands of WordPress themes, including the most popular ones:
- Astra
- Divi
- Hello Elementor
- Neve
- Avada
- Kadence
- GeneratePress
- OceanWP
- Blocksy
- Betheme
- The7
- Flatsome
- BuddyBoss
- Hestia
- Inspiro
- Spacious
- Responsive
- Customizr
- ColorMag
- Phlox
- Photograph
- …and more
- Full theme list
Slider Compatibility
WP Dark Mode is fully compatible with the most popular slider plugins:
- Revolution Slider
- Smart Slider 3
- Soliloquy Slider
- β¦and more
- Full list
WP Dark Mode works across all operating systems including Windows, Android, iOS and macOS. No additional setups are required. It detects the userβs system theme preference and applies a matching dark theme to the site. You can also enable a toggle to switch between different modes manually.
π₯ More Awesome Plugins
If you like Dark Mode, then consider checking out our other awesome plugins:
-
π’ Google Sheets to WP Table:
Try FlexTable – Sheets To WP Table Live Sync | Google Sheets allows you to input data on your Google sheet and show the same data on WordPress as a table effortlessly. Try Flex Table now! -
π Manage WooCommerce Inventory from Google Sheets:
FlexStock – Stock Sync with Google Sheet for WooCommerce | Auto-sync WooCommerce products from Google Sheets. Flex Stock is an easy, powerful, and simple inventory management system to handle your WooCommerce products. -
π Manage Order with Google Sheets:
Try FlexOrder – Bulk Order Sync with Google Sheet for WooCommerce | Manage WooCommerce orders from Google Sheets. WooCommerce order sync, e-commerce order management, and sales order management with Google Sheets. Try Flex Order now! -
π¬ Form to Chat:
Try FormyChat | Connect Form to Chat Apps with Contact Form 7, WPForms, Gravity Form | Welcome Popup & Multi-agent Live Chat
Privacy Policy
WP Dark Mode uses Appsero SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster & make product improvements.
Appsero SDK does not gather any data by default. The SDK only starts gathering basic telemetry data when a user allows it via the admin notice. We collect the data to ensure a great user experience for all our users.
Integrating Appsero SDK DOES NOT IMMEDIATELY start gathering data, without confirmation from users in any case.
Learn more about how Appsero collects and uses this data.
Additionally read the WPPOOL privacy policy.
External services
This plugin relies on the following third party and external services. Each is described below with what it is used for, what data is sent, and when.
1. WPPOOL AI Preset Generator (aiware.wppool.dev)
Used to generate dark mode colour presets from a text description. This service performs the AI colour generation on WPPOOL’s servers; it cannot be performed locally by the plugin.
Data sent: only the text prompt an administrator types into the AI Preset Generator, plus a randomly generated per-request identifier. No visitor data, no site content and no personal data are sent. The request is made only at the moment an administrator clicks the generate button in the plugin settings; it never runs on the front end and never runs automatically.
This service is provided by WPPOOL: terms of service, privacy policy.
2. Headway (cdn.headwayapp.co)
Used to display the plugin’s changelog inside the WordPress admin.
Data sent: loading the widget script causes your browser to contact Headway’s CDN, which receives your IP address, browser user agent and the referring page, as with any remotely loaded script. The widget is loaded only on the WP Dark Mode settings screen in the admin area, and never on the front end.
This service is provided by Headway: terms of use, privacy policy, security information.
3. Appsero (appsero.com, icanhazip.com)
Used for optional usage telemetry and for licence management of the paid add-on.
Data sent: nothing is sent unless an administrator explicitly opts in via the admin notice. After opt-in, Appsero receives site URL, WordPress and PHP version, active theme and plugin list, and the administrator’s email address and name. icanhazip.com is contacted to determine the site’s public IP address as part of the same opt-in telemetry.
This service is provided by Appsero: privacy policy. See also the icanhazip privacy notice.
4. WPPOOL contact sync (fluent.wppool.dev)
Used to subscribe an administrator to product update emails when they opt in to telemetry.
Data sent: the administrator’s email address, first name and last name. This request is made only as part of the same explicit opt-in described above. If you do not opt in, no request is made.
This service is provided by WPPOOL: terms of service, privacy policy.
5. Social sharing networks
The optional Social Share module renders share buttons. When, and only when, a visitor clicks one of these buttons, their browser opens a share URL on the network they chose: www.facebook.com (Facebook and Messenger), twitter.com (X/Twitter), www.linkedin.com (LinkedIn), www.google.com (Google), plus.google.com (Google+), pinterest.com (Pinterest), www.tumblr.com (Tumblr), reddit.com (Reddit), www.stumbleupon.com (StumbleUpon), delicious.com (Delicious), www.evernote.com (Evernote), wordpress.com (WordPress.com), getpocket.com (Pocket), api.whatsapp.com (WhatsApp), telegram.me (Telegram), www.instagram.com (Instagram), chat.openai.com (ChatGPT), grok.com (Grok), www.perplexity.ai (Perplexity) and claude.ai (Claude). The module also offers sms: and mailto: links, which open the visitor’s own SMS or email app and do not contact any external server.
Data sent: only the permalink and title (or, for the AI assistant channels ChatGPT/Grok/Perplexity/Claude, a short prompt built from the permalink and title) of the post being shared, as part of that URL. No data is sent to any of these networks until a visitor actively clicks a share button, and each network’s own terms and privacy policy then apply.
6. Webmail compose links (mail.google.com, outlook.office.com, compose.mail.yahoo.com)
The admin-side “Mail To” helper opens a pre-filled compose window on Gmail, Outlook or Yahoo Mail when an administrator clicks one of these options, so they can email a link from the plugin settings. This only happens when the administrator clicks the option; no data is sent automatically. Each provider’s own terms and privacy policy apply to that webmail service.
7. Embedded video players (youtube.com, player.vimeo.com)
If a site owner embeds a YouTube or Vimeo video, the plugin adjusts that embed for dark mode. The embed itself is created by WordPress or the site owner, not by this plugin, and those providers’ terms apply to the embedded player.
Build Instructions
The JavaScript and CSS shipped in this plugin are generated with build tools. The complete, human-readable source for every generated file is included in the src/ directory of this plugin, along with the build configuration. package.json (npm) and composer.json (Composer) are also included at the plugin root, so exact dependency versions can be installed.
Toolchain: Vite, Vue 3, Tailwind CSS and Sass.
To build from source:
- Install Node.js 18 or later.
- From the plugin directory, run
npm install - Run
npm run build
Individual bundles can be rebuilt with the scripts listed in package.json. For example, npm run frontend:js builds assets/js/app.min.js from src/frontend/main.js using src/frontend/vite.config.js.
Note on .map files: this plugin’s build tooling can generate .map sourcemap files alongside each minified bundle. These are excluded from the packaged plugin via .distignore because they are dev-only debug artifacts, not executable code, and they embed literal URL strings copied from bundled third-party libraries’ own metadata (for example a state-management library’s devtools logo URL) which are never …
Screenshots

Dark Mode

Floating switch styles

Inline Social Share buttons

Dark Mode widgets

OS aware Dark Mode

Backend Dark Mode

Dark Mode color presets