Sophia Atkinson ee36079405 Added color picker to the settings page
and and added that you can set the titles for the buttons to!
2025-06-29 23:33:54 -07:00
2025-06-29 15:42:26 -07:00
2025-06-29 15:42:26 -07:00
2025-06-29 15:42:26 -07:00

Better Content Warning

This plugin Blocks access to content behind a content warning popup with optional trigger warnings.


Features

  • Add a content warning per post or page
  • Customize popup text, colors, and button labels
  • Optionally show/hide the popup for administrators
  • Cookie-based "seen" system (shows once per user per post)

Installation

  1. Download or clone this repository into your /wp-content/plugins/ directory.
    • or, download the zip from the releases tab and upload it from the plugins page.
  2. Activate the plugin through the WordPress admin dashboard.
  3. Go to Settings -> Better Content Warning to customize defaults.
  4. Edit any post or page and enable the content warning via the "Better Content Warning" box.

Settings

You can customize:

  • Default warning message
  • Button text and colors
  • Background and font size
  • Whether admins see the warning or not

Screenshots

Settings page

Settings page for Better Content Warning (Screenshots are from v1.0)

Popup

What the popup looks like (Screenshots are from v1.0)

Description
A WordPress Plugin to block access to content behind a content warning popup with optional trigger warnings.
Readme 87 KiB
V1.1 Latest
2025-06-30 21:15:43 -07:00
Languages
PHP 99.4%
JavaScript 0.6%