跳到内容

Override Comment Options

v3.1

Jeff Starr · 2019年10月15日 上架

Enables per-post override of "Automatically close comments on posts older than" option in the WP Discussion Settings.

正在使用
10+
评分
5.0 / 5
累计下载
7,953
最近更新
2026年11月5日
1 条评价需要 WordPress 4.7+已测试到 7.2PHP 5.6.20+

贡献者

截图

OCO Meta Box displayed on Edit Post screen
OCO Meta Box displayed on Edit Post screen

This plugin overrides WordPress “automatically close comments” option on a per-post basis. So you can leave comments open on any post(s).

👉 Want to keep comments open on a few old posts? This plugin is for you.

👉 Uses only 4KB of code, so super lightweight, fast, and effective.

Features

  • Clean, secure code
  • Written according to the WP API
  • Simple, lightweight, and flexible
  • Localized and translation ready
  • Cleans up after itself when uninstalled

How it works

In the WordPress Discussion Settings, there is an option called “Automatically close comments on posts older than” whatever specified number of days. When this setting is enabled, comments will be disabled on any posts that are past the deadline, whatever “x” number of days.

What WordPress is missing is a simple way to override that global option on a per-post basis. That’s exactly what this plugin does.

For any post that is past the comment deadline, this plugin will display a small meta box on the “Edit Post” screen for each post. There you can check the box to enable comments on the post. Comments will then remain open for that post indefinitely, until the box is unchecked or the plugin is uninstalled. Check out the screenshot below to get a better idea.

For more details about how it works, visit the Installation docs.

Privacy

This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.

Override Comment Options is developed and maintained by Jeff Starr, 15-year WordPress developer and book author.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums