Require login to comment per post

WordPress has a global setting to control whether only registered users can comment, but sometime you need a more granular  control. For example you might want to require login to comment on all posts, but also have a page in which the comment form will serve as a type of contact form. In this case requiring registration and login will severly impact the number of people using the form.

This plugin add to the global settings a per post, or any other type of content which supports comments, a new option in the discussion “box” of the edit page named “‘Have to login to comment” which have three state to control if login will be required to comment on that pos

  • Site default: Just does whatever the global settings says. A change in the global settings will immediately impact the comment on this post. This is the default state.
  • No: Login is not required to comment. This will not change when the global option is changed
  • Yes: Login is required to comment. This will not change when the global option is changed

Settings

At the “Discussion box” in the post edit page, an option name “Have to login to comment”.

Compatibility

WordPress 3.9 and above in both standalone and multisie/network configuration

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment policy

We are not going to share your e-mail with anyone else, but we might send you answers to your questions directly to your email.