這個外掛並未在最新的 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.