
gaplugin-darkmode
v0.01.00.00GAUTIER Antoine · 2020年5月20日 上架
Use a shortcode to create a light/dark mode.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 4,892
- 最近更新
- 2021年2月6日
需要 WordPress 5.2+已测试到 5.6.24PHP 7.2+
贡献者
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