Override Comment Options

Description

Override WordPress “automatically close comments” option and leave comments open on any individual posts.

Want to keep comments open on a few old posts? This plugin is for you. Here’s 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.

Note: The override meta box will not be displayed if the post is not past the comment deadline (whatever “x” number of days).

Check out the screenshot below to get a better idea.

Features

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

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

Screenshots

  • OCO Meta Box displayed on Edit Post screen

Installation

Installation

  1. Upload the plugin to your blog and activate
  2. Make sure the Discussion setting “Automatically close comments” is enabled
  3. Done!

More info on installing WP plugins

Usage

This plugin does not provide any options page. Instead, it displays a small Meta Box in the sidebar on the “Edit Post” screen. 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.

Note: The override meta box will not be displayed if the post is not past the comment deadline (whatever “x” number of days).

Check out the screenshot on the plugin homepage to get a better idea.

Like the plugin?

If you like Override Comment Options, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

FAQ

Questions? Feedback?

Send any questions or feedback via my contact form. Thanks! 🙂

Contributors & Developers

“Override Comment Options” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1 (2019/10/27)

  • Tests on WordPress 5.3

1.0 (2019/10/15)

  • Initial Release