该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

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

评价

2022 年 5 月 1 日
By far the best night dark mode plugin that I found for WordPress! This should be by default in Core WP! Thank you so much
2020 年 9 月 7 日
Very simple plugin but provides all the functionality I needed to add a dark mode toggle button to my website!! Thanks!

ok

2020 年 6 月 24 日
Not much customization, especially with Body Background
2019 年 12 月 15 日
This allow blog owners to adjust its theme to Apple new dark mode updates. thanks for this plugin.
阅读所有23条评价

贡献者及开发者

「WP Night Mode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「WP Night Mode」插件已被翻译至 7 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「WP Night Mode」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version History

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