WP Night Mode


With this plugin you can enable your users to switch website between Night Mode and normal style smoothly to improve the readability of text, images and videos.

Reading website content at night time can be difficult. Help your visitors read more articles, spend more time on your website and protect their eyes from being hurt.


  • The website with Night Mode turned off.
  • The website with Night Mode turned on.
  • Add Night Mode toggle button with class.
  • Add Night Mode toggle button with shortcode.
  • Customize Night Mode style.


  1. Upload wp-night-mode to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use wp-night-mode class on any element (for example Menu item) or [wp-night-mode-button] shortcode to show Night Mode toggle button
  4. Shortcode options:
    • “style” option, for Toggle Style. Use it like this: [wp-night-mode-button style="4"]
  5. Go to Customizer and set styles for Night Mode


18 1820 September 1820 000000 2019
This is an excellent plugin for implementing a dark mode on a WordPress site, and the developer is frequently active in the support forum answering questions. Great stuff.
16 1659 September 1659 000000 2019
This is the best plugin for night mode that i found for WordPress
12 1255 August 1255 000000 2019
Good job. It has some minor bugs, at least in my test site, but seems very promising. The installation and use instructions require some rewording and better graphical description. I hope you add more functions soon.
8 0852 August 0852 000000 2019
Thanks, working as it should
24 2438 July 2438 000000 2019
It was easy to set-up and modify with css. I wanted to change out the logo and the forum had an excellent explanation how to do it. It was excellent before but yesterday they updated the plugin with the ability to make the dark mode the default and your choice persists to all pages. So, yea, its perfect. Thank you to all the creators. Jim
Read all 15 reviews

Contributors & Developers

“WP Night Mode” is open source software. The following people have contributed to this plugin.


“WP Night Mode” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “WP Night Mode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


Version History

Refer to the GitHub for more information regarding the latest changes.