這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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 外掛目前已有 6 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 WP Night Mode 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

Version History

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