=== WP Dark Mode - Improve Accessibility with AI Powered Dark Theme ===  
Contributors: wppool, wpdarkmode, azizultex, iamjafran, shahreyar46  
Tags: dark mode, dark, night mode, dark theme, accessibility  
Requires at least: 5.0  
Tested up to: 7.0  
Requires PHP: 5.6  
Stable tag: 5.3.9
License: GPLv2 or later  
License URI: http://www.gnu.org/licenses/gpl-2.0.html  

Enable dark mode on WordPress without any coding. Improve site accessibility with a stunning dark theme that improves conversion.


== Description ==

**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](https://cutt.ly/ceCQgvoT)**
* 🌐 **Follow Us on [X (Twitter)](https://x.com/WPDarkMode)**
* 🎥 **Subscribe on [YouTube](https://www.youtube.com/@WPPOOL)**
* 👍 **Like Our [Facebook Page](https://www.facebook.com/wppool.dev)**

Check what popular WordPress expert Matt (WPress Doctor) thinks about WP Dark Mode.

[youtube https://www.youtube.com/watch?v=CT8yy2v05tE?rel=0]

👁️ [View Demo](https://go.wppool.dev/fuUK) | 🚀 [Get Ultimate](https://wppool.dev/wp-dark-mode-pricing/?utm_source=readme&utm_medium=org_readme&utm_campaign=wp-dark-mode) | 🤝 [Join Our Facebook Community](https://cutt.ly/ceCQgvoT)


== 🔝 WP 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 WP 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 WP 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](https://go.wppool.dev/fuUK) | 🚀 [Get Ultimate](https://wppool.dev/wp-dark-mode-pricing/?utm_source=readme&utm_medium=org_readme&utm_campaign=wp-dark-mode) | 🤝 [Join Our Facebook Community](https://cutt.ly/ceCQgvoT)


== 🤔 Why Choose WP 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 ==

WP 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](https://wppool.dev/dark-mode-compatibility/)


== 🎨 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](https://wppool.dev/dark-mode-compatibility/)


== ↔ 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](https://wppool.dev/dark-mode-compatibility/)

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 WP Dark Mode, then consider checking out our other awesome plugins:

* 🟢 **[Google Sheets to WP Table](https://wordpress.org/plugins/sheets-to-wp-table-live-sync/)**:
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](https://wordpress.org/plugins/stock-sync-with-google-sheet-for-woocommerce/)**:
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](https://wordpress.org/plugins/order-sync-with-google-sheets-for-woocommerce/)**:
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](https://wordpress.org/plugins/social-contact-form/)**:
Try FormyChat | Connect Form to Chat Apps with Contact Form 7, WPForms, Gravity Form | Welcome Popup & Multi-agent Live Chat

== Installation ==
1. After activating the plugin, your website will by default turn into a dark theme for your users if the Operating System of the users sets into a dark theme.
2. You can use the show/hide dark mode switch in many different ways like Gutenberg block, Elementor widget, or Shortcode. Please refer to the FAQ section to learn more about how to use it.
3. If you want to disable the OS-aware mode functionality, navigate to your Admin Dashboard > Settings > WP Dark Mode and turn off the “Enable OS-aware Dark Mode” switch button.

You can also follow our video tutorial:

[youtube https://www.youtube.com/watch?v=L6EmXREa6OA&rel=0]

== Privacy Policy == 
WP Dark Mode uses [Appsero](https://appsero.com) 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](https://appsero.com/privacy-policy/).

Additionally read the WPPOOL [privacy policy](https://wppool.dev/privacy-policy/).

== Special Thanks ==
This plugin includes a modified version of a script from Dark Reader, an open-source browser extension licensed under the MIT license. We thank the Dark Reader team for their contribution to the open-source community. For more information about Dark Reader and their licensing terms, please visit [https://github.com/darkreader/darkreader](https://github.com/darkreader/darkreader).


== Frequently Asked Questions ==

= How can I show the dark mode switch? =
You can display a dark mode floating switch button in the footer all over the website by turning on the “Show Floating Switch” settings from the general settings.

And in the Ultimate version, you can also display the switch button on the top of every post/ page. You can choose the style of the switch button from different switch styles.

= How can I show the ON/ OFF control switch button using a shortcode? =
This plugin provides shortcode to display the switch. Using the shortcode, you can place the switch button anywhere on your website. This shortcode supports an optional style attribute for the switch style.
**Example** – `[wp_dark_mode_switch style="3"]`

= Does this plugin support any dark mode image? =
Yes, it does.

= Can we use it with Gutenberg? =
Yes, you can place the switch button on any page/post by using Gutenberg block.

= Can we use it with Elementor? =
Yes, you can place the switch button on any page/post by using the Elementor widget.

= Can we display the switch button in any page or post? =
Yes, You can display the switch button before any page/post.

= Can we change the colors from predefined presets? =
Yes, using the ready-made color schema you can quickly change many aspects of the theme.

= Does it also work for the backend page? =
Yes, you can enable your preferred mode on the back end of the admin page.

= How can I make the switch button appear on any page or post? =
You can use `[wp_dark_mode_switch]` shortcode to display the dark mode switch button on any page/post.

= Is this plugin compatible with all modern browsers? =
Yes, We have tested this plugin in all modern browsers (Safari, Chrome, Firefox, Edge, etc) and it works without any issue.

= Do I need to know any programming language for using this plugin? =
No. It is a very user-friendly and simple plugin. Just download and use it accordingly.

= Can I toggle the between modes by using a keyboard? =
Yes, You can toggle modes by keyboard shortcut `(Ctrl + Alt + D)`.


== Screenshots ==
1. WP Dark Mode
2. Floating switch styles
3. Inline Social Share buttons
4. Dark Mode widgets
5. OS aware Dark Mode
6. Backend Dark Mode
7. Dark Mode color presets


== Changelog ==

= 5.3.9 – 24 JUN 2026 =
* **Fix:** Improved compatibility with Hostinger AI admin pages.

= 5.3.8 – 09 JUN 2026 =
* **Fix:** Resolved a dark mode issue in TinyMCE Classic Editor when Hestia's Local Fonts Hosting option is enabled.

= 5.3.7 – 02 JUN 2026 =
* **Fix:** Admin bar Light/Dark Mode switcher compatibility with Classic Editor and TinyMCE Advanced.
* **Fix:** TinyMCE editor background now responds correctly to admin bar Light/Dark Mode switching when the Classic Editor Dark Mode button is disabled.
* **Improvement:** Improved compatibility with Classic Editor and TinyMCE Advanced's "Replace Block Editor" setting.

= 5.3.6 – 25 MAY 2026 =
* **Improvement:** Improved compatibility with Gutenberg block editor
* **Improvement:** Compatible with WordPress 7.0

= 5.3.5 – 09 APR 2026 =
* **Fix:** “Exclude” feature broken in the previous version has been fixed
* **Fix:** Minor bug fixes and enhancements
* **Improvement:** Minor bug fixes and enhancements


= 5.3.4 – 01 APR 2026 =
* **Improvement:** Added multilingual support with native translations
* **Fix:** Dark mode support added for media library and preview loading screen in admin

= 5.3.3 – 16 FEB 2026 =
* **Fix:** Compatible with screen readers (Verified ARIA support).
* **Fix:** Resolved keyboard navigation issues for accessibility switches.

= 5.3.2 – 10 FEB 2026 =
* **Fix:** Fixed minor issues and maintenance update.

= 5.3.1 – 26 JAN 2026 =
* **Improvement:** Fixed a compatibility issue with the Site Reviews plugin where star ratings and text colors were not displaying correctly in Dark Mode without a page refresh.
* **Fix:** Resolved a 404 error occurring in the WordPress admin panel when Dark Mode was enabled.
* **Fix:** Fixed an issue where the WP Dark Mode usage counter was not updating immediately when Dark Mode was enabled or disabled by visitors.
* **Fix:** Resolved an analytics chart rendering issue where the chart would not reappear after switching tabs, causing a blank canvas until the page was reloaded.

= 5.3.0 – 22 DEC 2025 =
* **New: AI-Powered Color Preset Generator:**
You can now generate custom dark mode color presets using AI prompts in WP Dark Mode. Simply describe the color style you want, and AI will instantly create a unique preset for your website that would be perfect for branding, accessibility, and creative themes.
This feature extends our existing Custom Color Presets to give you more control and flexibility. Enjoy!

= 5.2.20 – 08 DEC 2025 =
* **New:** Introduced the new color preset Tailwind & Midnight Bloom.

= 5.2.19 – 04 DEC 2025 =
* **New:** Introduced the new color preset Sweet Dark.
* **Improvement:** Set Sweet Dark as the default preset for new installations.

= 5.2.18 – 25 NOV 2025 =
* **New:** “Custom Triggers” added to Switch Settings, allowing users to assign their own elements or buttons.
* **Improvement:** Changed the Save button position from right to left.

**For older changelog entries, please see the [additional changelog.txt file](https://plugins.svn.wordpress.org/wp-dark-mode/trunk/changelog.txt) delivered with the plugin.**