该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

gaplugin-darkmode

描述

After installing the plugin.
You’ll have a new menu in your admin page “GAPlugin”.
It will have a “darkmode” menu.
Here you’ll be able to activate a test affecting the body of your website.

You’ll be able to modify your CSS (Cascade Style Sheet) to manage your darktheme:
– for the light theme :root
– for the dark theme [data-theme=”dark”]
You can take a look in the test mode to see how to use it.

You just have to use the shortcode in your theme to display the checkbox for the darkmode.
Here is the shortcode to use: [GAP-darkmode]

Enjoy !
Take a look at my website GautierAntoine.com

安装

  1. Install the plugin.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. In the “GAPlugin” Menu in your admin panel, you can activate the test mode.
  4. You’ll need to add the shortcode [darkmode-nav] in your code to show the button.

评价

此插件暂无评价。

贡献者及开发者

“gaplugin-darkmode” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“gaplugin-darkmode”翻译成您的语言。

对开发感兴趣吗?

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