Linux 软件免费装
Banner图

Read With Care — Content Warnings

开发者 ichi-nya
更新时间 2026年12月3日 12:04
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

teaser age gate sensitive content content warning

下载

0.1.5 0.1.6 0.1.7

详情介绍:

Read With Care lets editors tell readers what to expect before they open an article. Choose a warning for a post or page and write a teaser that anyone can read. The title stays visible. Until the reader confirms, the server sends the teaser and warning form in place of the full article. Readers can leave using the exit button or confirm that they are 18 or older to read the article at the same address. The form works with cookies enabled and JavaScript turned off. Reader messages and starter templates follow the WordPress site language. The editor interface follows the user’s WordPress profile language. English and Russian are included. Custom warning text and teasers are shown as written.

安装:

  1. In Plugins > Add Plugin, choose Upload Plugin, select the Read With Care ZIP file, install it and activate it.
  2. Open the Warnings menu. Review the three starter templates or add your own.
  3. Edit a post or page. In the Read With Care panel, choose a warning, enter the public teaser, and save.
  4. Read With Care sets a first-party browser cookie on the front end, including ordinary posts without warnings. Public pages, archives and REST responses send private, no-store cache headers. Disable shared page caching at your host and CDN for these responses and purge previously cached pages. Open the article in two independent browser sessions and confirm in one. The other session should still show the teaser.

屏幕截图:

  • On a narrow screen, the exit button appears above the confirmation action.

常见问题:

How does the age check work?

Readers declare that they are at least 18 by submitting the form. The built-in method does not request a date of birth, identity document or user account. It does not contact an external age verification provider.

What do the cookies store?

Three first-party cookies bind the form to the browser session, remember accepted warnings and store the age declaration result. By default, confirmation applies to one article for the current session, for up to 12 hours. The administrator can set a duration from 1 to 720 hours.

Can I protect a direct link to an uploaded file?

Anyone with a direct file URL can still download it. Read With Care filters standard WordPress views and supplies indexing instructions for crawlers. If you serve a physical robots.txt file or host media on a separate domain, copy the appropriate rules from the plugin's diagnostics screen.

What happens when I deactivate Read With Care?

WordPress resumes serving the articles under its usual visibility rules. Read With Care keeps the saved warnings, teasers and settings on deactivation.

更新日志:

0.1.7 0.1.6 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1.0