该插件尚未通过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

评价

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.
阅读所有22条评价

贡献者及开发者

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

贡献者

“WP Night Mode”插件已被翻译至6种本地话语言。 感谢所有译者为本插件所做的贡献。

将“WP Night Mode”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

Version History

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