by Center for Online Safety and Liberty on WordPress.org
Extend the WordPress tagging system to provide content warnings. Selected content will be blurred until the user reads and agrees to a disclaimer.
![[Example of content warning]](https://ps.w.org/dead-dove/assets/screenshot-1.png?rev=3178426)
[Example of content warning]
The Dead Dove plugin lets administrators and users apply content warnings to their content. Administrators define the available content warnings in a custom taxonomy of terms, and specify which of them trigger warnings by default. Users can overide these defaults in their user settings. Tags may be applied at the post level, block level, or even within a block using a shortcode. From version 2.0, they can also be applied when posting to BuddyBoss activity feeds and forums, even by users who lack access to the WordPress dashboard.
Content that has been tagged with a term that triggers a content warning for the user viewing it will be blurred from view. To view the content the user must read and accept a disclaimer that has been defined by the administrator in the description of the taxonomy term.
deaddove_user_warning_terms user meta key.To apply a content warning to an entire post, apply a term that requires a content warning to the post. The content warning taxonomy will appear in the post editor screen, alongside tags, and are used in the same way.
Use the [content_warning] shortcode to apply warnings within a block. The slug of the term or terms should be entered into the shortcode separated by commas.
Example 1: Single term
[content_warning tags="sensitive"]
This section discusses sensitive material.
[/content_warning]
Example 2: Multiple terms
[content_warning tags="graphic,offensive"]
This section contains graphic language and offensive themes.
[/content_warning]
When adding content to the Activity Feed or Forum post, the available content warnings are shown in a drop-down in the editing box.
This plugin is licensed under the GPLv2 or later. See the license for more details.