Title: Mourning
Author: jojoee
Published: <strong>2017 年 10 月 5 日</strong>
Last modified: 2020 年 8 月 4 日

---

搜索插件

![](https://ps.w.org/mourning/assets/banner-772x250.png?rev=1741632)

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

![](https://ps.w.org/mourning/assets/icon-256x256.png?rev=1741632)

# Mourning

 作者：[jojoee](https://profiles.wordpress.org/jojoee/)

[下载](https://downloads.wordpress.org/plugin/mourning.zip)

 * [详情](https://cn.wordpress.org/plugins/mourning/#description)
 * [评价](https://cn.wordpress.org/plugins/mourning/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/mourning/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/mourning/#developers)

 [支持](https://wordpress.org/support/plugin/mourning/)

## 描述

Add black ribbon and grey out the website

Features:

 * Add ribbon to the site (4 ribbon positions)
 * Grey out the website with percentage

Compatible with all browsers:

 * [Google Chrome](https://www.google.com/chrome/) 19+
 * [Mozilla Firefox](https://www.mozilla.org/firefox/) 3.6+
 * [Safari](http://www.apple.com/safari/) 3+
 * [Internet Explorer](https://www.microsoft.com/en-us/download/internet-explorer.aspx)
   9+
 * [Opera](http://www.opera.com/) 11.5

### Notes

 * [WordPress Coding Standards](https://codex.wordpress.org/WordPress_Coding_Standards)
 * 2 spaces for indent
 * [Repository on Github](https://github.com/woodpeckerr/mourning)

#### TODO

 * [ ] Localization
 * [ ] Fix all TODOs
 * [ ] Grey out switcher
 * [ ] Valid input on admin board

#### Contributor

 1. Install `Node.js`
 2. `npm install`
 3. `npm run zip` to pack the plugin

#### Thank you

 * [WordPress Plugin readme.txt Validator](https://wordpress.org/plugins/about/validator/)
 * [Autoprefixer CSS online](https://autoprefixer.github.io/)
 * [PHP code syntax check](https://www.piliapp.com/php-syntax-check/)
 * Ribbon from [Jatuporn Jib Piyawarinwong](https://www.facebook.com/jibbazee)
 * Converted to svg by [Krist Wongsuphasawat](https://github.com/kristw/ribbon) 
   with help from potrace 1.10, written by Peter Selinger 2001-2011

## 屏幕截图

 * [[
 * Grey out (screenshot-1.jpg)
 * [[
 * Black ribbon (screenshot-2.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. Select ribbon’s position via `Settings > Mourning`
 4. Done

## 常见问题

### How to use it

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

### How it work

it add `css` filter property into `body`

## 评价

![](https://secure.gravatar.com/avatar/d021e1ab105cf5315e011f78e89e278e62006378ca0e43656cacb764aac07def?
s=60&d=retro&r=g)

### 󠀁[easy settings](https://wordpress.org/support/topic/easy-settings-3/)󠁿

 [Nann Studio](https://profiles.wordpress.org/nannstudio/) 2017 年 10 月 5 日

Very Nice!

![](https://secure.gravatar.com/avatar/c9f6a77b18f8bddaba0a17d71576408670a0521486dd338fdd740c726900e0fb?
s=60&d=retro&r=g)

### 󠀁[Save my time 🙂](https://wordpress.org/support/topic/save-my-time-6/)󠁿

 [jojoee](https://profiles.wordpress.org/jojoee/) 2017 年 10 月 5 日

Save my time 🙂

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/mourning/reviews/)

## 贡献者及开发者

「Mourning」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jojoee ](https://profiles.wordpress.org/jojoee/)
 *   [ Nann Studio ](https://profiles.wordpress.org/nannstudio/)

[帮助将「Mourning」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mourning)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/mourning/)，查看[SVN仓库](https://plugins.svn.wordpress.org/mourning/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/mourning/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/mourning/)。

## 更新日志

#### 1.0.3 (05 Oct 2017)

 * Update tag

#### 1.0.2 (05 Oct 2017)

 * Refactor

#### 1.0.1 (04 Oct 2017)

 * Disable debug mode
 * Change plugin setting page’s slug

#### 1.0.0 (04 Oct 2017)

 * First release

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**6 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **5.4.19**
 *  语言
 * [English (US)](https://wordpress.org/plugins/mourning/)
 * 标签
 * [Condolence](https://cn.wordpress.org/plugins/tags/condolence/)[grayscale](https://cn.wordpress.org/plugins/tags/grayscale/)
   [grey](https://cn.wordpress.org/plugins/tags/grey/)[mourning](https://cn.wordpress.org/plugins/tags/mourning/)
   [remembrance](https://cn.wordpress.org/plugins/tags/remembrance/)
 *  [高级视图](https://cn.wordpress.org/plugins/mourning/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/mourning/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/mourning/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/mourning/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/mourning/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/mourning/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mourning/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/mourning/reviews/)

## 贡献者

 *   [ jojoee ](https://profiles.wordpress.org/jojoee/)
 *   [ Nann Studio ](https://profiles.wordpress.org/nannstudio/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/mourning/)