Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

WP Night Mode

Beskrivning

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.

Skärmdumpar

  • 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.

Installation

  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

Recensioner

1 maj 2022
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
7 september 2020
Very simple plugin but provides all the functionality I needed to add a dark mode toggle button to my website!! Thanks!

ok

24 juni 2020
Not much customization, especially with Body Background
15 december 2019
This allow blog owners to adjust its theme to Apple new dark mode updates. thanks for this plugin.
Läs alla 23 betyg

Bidragsgivare och utvecklare

”WP Night Mode” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”WP Night Mode” har översatts till 6 språk. Tack till översättarna för deras bidrag.

Översätt ”WP Night Mode” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

Version History

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