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

Grayscale Body

描述

Automatically turn the site to grayscale (may be used for some purpose)

Features:

  • Grayscale / Color switcher (for non-IE)
  • Theme option to enable / disable switcher and select switcher position
  • Default mode, ability to set default which either “grayscale” or “color”
  • Ignored Post IDs, user can display this plugin for specific posts by post IDs
  • Custom css

Compatible with all browsers:

Notes

TODO

  • [x] Switcher
  • [x] Theme option
  • [ ] Localization
  • [ ] Separate utility out of main plugin file
  • [ ] Using the feature from grayscale-body-js instead

Thank you

屏幕截图

  • Demo (screenshot-1.jpg)

  • Switcher (screenshot-2.jpg)

  • Theme option (screenshot-3.jpg)

安装

  1. Install the plugin via admin plugins screen or download and upload this plugin into wp-content/plugins directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Enable switcher and select switcher position via Settings > Grayscale Body (optional)
  4. Done

常见问题

How to use it

activate the plugin on your plugin dashboard (/wp-admin/plugins.php)

How it work

it add css filter property into body

评价

2018 年 1 月 27 日
Color blindness is a disability affecting a large minority of people. You can improve your website by using this plugin to toggle to greyscale which approximates total colour-blindness. It can instantly tell you where your choice of colors, hues, luminance and contrast makes it difficult for a colour-blind person to enjoy or even understand a website.
2016 年 10 月 17 日
this plugin was really helpful when the website needs to mourn for some purpose.
2016 年 10 月 17 日
Thank you so much for this plugin. Now WordPress websites can mourn over our Thai king’s passing, and still be able to switch to the color version.
阅读所有6条评价

贡献者及开发者

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

贡献者

将“Grayscale Body”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.2.3

  • 4 switcher positions

1.2.2

  • Update switcher text
  • Add switcher move2left option
  • Update switcher z-index

1.2.1

  • Support PHP below 5.4

1.2.0

  • Add Theme option

1.1.1

  • Add Grayscale / Color switcher

1.0.1

  • Update meta

1.0.0 (14 Oct 2016)

  • First release