Linux 软件免费装
Banner图

Ganava Dark Mode Switcher

开发者 sandipganava
更新时间 2026年6月18日 14:34
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

dark mode night mode dark theme night theme toggle switch

下载

1.0.0

详情介绍:

Ganava Dark Mode Switcher is an easy-to-use, feature-rich plugin designed to enhance user experience by providing a premium, animated Dark Mode toggle switch on your website. Allow your visitors to switch to a visually pleasant dark theme that matches their environment. The plugin automatically detects system preferences, remembers user preferences across sessions, and lets you customize the background, text, link, and button colors directly from the WordPress admin panel. Built with performance and versatility in mind, the plugin works out of the box with any theme, supports WooCommerce and Elementor layouts, and allows you to exclude specific elements like logos or images using CSS selectors.

安装:

  1. Upload the ganava-dark-mode-switcher folder to your /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Configure your dark mode styles and toggle display options by navigating to Settings > Ganava Dark Mode.

常见问题:

How do I place the toggle inside a post or page?

You can insert the toggle switch manually anywhere in your content by using the shortcode [ganava_dms_toggle]. You can also override the default style or size via attributes, like [ganava_dms_toggle style="icon" size="large"].

Will this slow down my website?

No, the plugin is highly optimized. CSS styles and JavaScript logic are small, native files that compile quickly. Color configurations are output dynamically as CSS custom properties in the header.

How do I exclude my site logo from being styled?

Go to Settings > Ganava Dark Mode, find the Excluded CSS Selectors option under the Advanced card, and add your logo's CSS class (e.g. .site-logo or #logo).

更新日志:

1.0.0